问题
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