What is the recommended way of triggering a Bamboo deployment plan from a JIRA release?

I can trigger a build from a JIRA release, but I actually want to deploy the release. Of course, I could add the deployment tasks to the build job, but that circumvents the use of the deployment plan. Since it seems that deployment plans are the Future, surely there is a way to use these from the JIRA release?

4 answers

0 votes

You can write a JIRA listener that kicks of the deployment plan in Bamboo. Need some dev effort!

Ok, so JIRA doesn't currently support this natively. Are there plans for this? It would make sense to me, as this appears to be a reduction in functionality if you use Bamboo deployment plans - which surely isn't the intention.

0 votes
Mike Howells Atlassian Team Oct 31, 2014

You can configure triggers in your deployment plan environments to automatically deploy when a build is successful. So you could get JIRA to trigger a build and get that build to trigger the deployment to an environment, e.g. the first environment in your deployment pipeline.

Screen Shot 2014-11-01 at 12.33.34 am.png

Thanks Mike - but this means that you can't use automatic builds, as they will then trigger the deployment.

The work around that seems best is the use automatic builds with a "dummy" manual stage, so the builds complete all the real work, but pause rather than completing. A JIRA release can then select that build to finish - with a deployment plan containing an automatic trigger as you suggest.

However, I'm sure Atlassian have plans to make this integration a little tighter - rather than requiring a work around - is there an issue we can watch to track progress on this?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

72 views 3 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