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