因公司需要,我们开发的PRISM又需要和JIRA对接啦,
今天找了一个JIRA库撸了一发~~~
jira库地址:
https://pypi.python.org/pypi/jira/1.0.3
简单操作指令:
from jira import JIRAjira = JIRA(server='http://jira.a.b.com.cn:8080', basic_auth='chengang', 'xxxxxxx')) projects = jira.projects()print projectsissue = jira.issue('SISOMM-1233')print issuejira.add_comment(issue, 'PRISM 234234ND uat chengang test')
操作截图: