开发者

JIRA - how to get reports programmatically?

开发者 https://www.devze.com 2023-02-26 04:56 出处:网络
I use JIRA as a bug tracker and I built a Python tool that converts JIRA tasks report (got as XML from the \'Views\' menu) into MS Access records that are user by another tool.

I use JIRA as a bug tracker and I built a Python tool that converts JIRA tasks report (got as XML from the 'Views' menu) into MS Access records that are user by another tool.

Ok, that's done, Python's the greatest !

Now I'd like to know how I can automate the 1st part, i.e. creating the report programmatically, ideally:

  • in XML
  • with the same format as the one provided by the 'Views' menu
  • using python of course !

Well, of course I can use other languages and other formats, I was just describing the perfect world ! I don't know if JQL could be used i开发者_StackOverflow中文版n any way, or if JIRA plugins are useful (I saw notably a Python CLI but I don't know if its features are powerful enough)...

Thanks for your advice/experience/ideas...


You can expose JIRA through:

  • SOAP (currently the preferred way)
  • XML-RPC
  • REST API (still under development)

All of which can be easily consumed in Python client.

See: http://confluence.atlassian.com/display/JIRA/JIRA+RPC+Services

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号