Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

149 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you