Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

pass jira variables to bamboo on release

Dennis Munninghoff June 26, 2018

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
Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 26, 2018

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  

Dennis Munninghoff June 28, 2018

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.

Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 28, 2018

I'm glad I could help :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events