How to trigger a bamboo deployment after jira status change

Any ideas or solutions for triggering a bamboo deployment after a JIRA issue has been moved or transitioned to another status? 

E.g. Issue moves to QA/Review. Once this has been moved out of QA/Review to done, the transition workflow should trigger a deployment in bamboo.

Any thoughts?

1 answer

0 vote

You can use webhooks to trigger the deployment. Use the Bamboo rest API in the webhook url.

See https://developer.atlassian.com/jiradev/jira-apis/webhooks#Webhooks-Addingawebhookasapostfunctiontoaworkflow for more details.

Hi Jobin, I am geeting 401 error while running using webhook to run job in bamboo. could you please confirm how we can resolve this error?

401 indicates unauthorized access. Seems you do not have the right permissions.

Hi Jobin. I have the same problem. How can I give the right permissions? 

My JIRA and Bamboo use the same Crowd user directory and have Application links configured correctly. Also user transitioning JIRA issue has the permission to run Bamboo builds.

Try logging into Bamboo using the same user id and see if you are able to run the build.

Yes, I am able to run the build with the same user id.

Any more ideas?

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,087 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot