jira update ticket using script

血红的双手。 提交于 2019-12-12 02:26:43

问题


Is there any way update Jira ticket using scripts?

Basically I will have a build from hudson/jenkins and if I get the Jira ID in all changes then corresponding ID should be updated to release version in Jira? Can any one help me? I am bit new to Jira admin.


回答1:


It's a bit difficult to understand the question but there is a Jira plugin for jenkins that does what I think you're asking:

Here is a link to the Jenkins JIRA plugin, you'll need to make sure the web service API for JIRA is enabled in the JIRA admin interface.




回答2:


JIRA has a SOAP (and in some version REST) web service that would allow you to make an HTTP request to JIRA to make changes to a ticket. If the Jenkins plugin that Mike K suggested does not work for you, then you can look at writing a script that would make the request that you need.



来源:https://stackoverflow.com/questions/7534589/jira-update-ticket-using-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!