jira bug跟踪记录系统,有时候有些bug的产生 比如是客户报的bug,希望也能自动导入到我们的jira系统中,java代码 采用xmlrpc 连接,登陆,创建,登出。
实例代码:
/*
* (non-Javadoc)
*
* @see com.bes.jira.IssueCreator#createIssue(com.bes.jira.Issue)
*/
public void createIssue(Issue issue) throws Exception {
if (issueParams == null) {
issueParams = getIssueParameters();
}
issueParams.put("summary", issue.getSummary());
issueParams.put("description", issue.getDescription());
rpcClient.execute("jira1.createIssue", new Object[] { getLoginToken(),
issueParams });
}
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
- 27.
- 28.