Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,539
Community Members
 
Community Events
168
Community Groups

pass jira variables to bamboo on release

We have JIRA, BitBucket and Bamboo, all integrated running locally on a server. I would like to have Bamboo build my software when I decide to release it in JIRA.

There is a document available at Atlassian that describes this:

https://confluence.atlassian.com/jirasoftwarecloud/running-a-bamboo-build-when-releasing-a-version-764478184.html

The problem is that my interface doesn't have the Build Variables as described in the documentation. This is crucial, because I want JIRA to pass a version number and Bamboo to use that version number as a variable for different tasks.

Here is a screenshot of the interface: JIRA release UI

I realise that the docs are for JIRA cloud, but seeing that the same interface is available on the server edition, I would expect to be able to accomplish the same thing.

We use JIRA version 7.9.2 and Bamboo version 6.5.1

Do you know why the Build Variables might be missing, or how else to tackle passing variables from JIRA to Bamboo in a self-hosted situation?

1 answer

1 accepted

2 votes
Answer accepted

Hi Dennis,

Could you please double check if you have global or plan variables defined in Bamboo? I've tested here with the same versions you're using and I was only able to reproduce the behavior when there are no custom variables defined.

Screen Shot 2018-06-26 at 14.57.00.pngScreen Shot 2018-06-26 at 14.56.36.png

thanks  

Thanks Gabriel,

That's the solution. I was under the impression that the custom variables you want to pass are defined on the release screen in JIRA.

Instead, they are defined on the plan or global level in Bamboo, and they can be used/overridden on the release screen in JIRA.

It works now!

Thanks very much for your help.

I'm glad I could help :)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events