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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

71 views 2 3
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