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 votes

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
Community showcase
Published 7 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

99 views 0 0
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