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 vote

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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
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,790 views 0 6
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