Update JIRA issue status with Bamboo Build


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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

243 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you