//如果是未解决的工单,推送至jira
if(act.status.equals("1")){//ACT_STATUS_RUNING
/*try {
//JiraRestClient jiraRestClient = ConnectJira.createClient(ConnectJira.BaseURL, ConnectJira.User, ConnectJira.Password);
ConnectJira.addIssueComplex(jiraRestClient, "CCTEST", actform.vin,actform);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ExecutionException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}*/
try {
BasicIssue bIssue = Jira.createIssue("CCTEST",TASK_TYPE_ID,actform.vin,actform.vin);
} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
private static final Long TASK_TYPE_ID = 3L;
评论0
最新资源