Update JIRA issue status with Bamboo Build

clatasa February 18, 2014

Hi,

We have a couple of workflows set up - both are about the same as far as bamboo builds go:

Code Complete > Bamboo Build > Ready for QA

Ready for Deploy > Bamboo Build > Deployed

Currently this is done manually by our build engineer

Seems fairly simple. Bamboo just needs to send a signal to JIRA with each ticket number telling any matching ticket in the left status should be moved to the right status.

I've seen this http://stackoverflow.com/questions/16505433/can-bamboo-change-status-of-tickets-in-jirabut find it hard to believe that it's not integrated into the bamboo jira add-on already.

I've seen another post on atlassian like this one but it appears there's nothing new? Maybe I'm just not reading the documentation?

Thanks in advance!

1 answer

0 votes
Sebastien Delcoigne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2014

You can transition JIRA issues through its REST api (https://docs.atlassian.com/jira/REST/latest/#d2e2802) and you can add scripts in your Bamboo plans. Therefore you should be able to create a script at the end of your plan to call JIRA on its api and transition the issues. Of course, the issue needs to be in a state that accepts the transition

Either code de script from within Bamboo or call it via this plugin https://marketplace.atlassian.com/plugins/com.sysbliss.bamboo.plugins.prepost-build-commandmade by Atlassian themselves and free

Suggest an answer

Log in or Sign up to answer