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

Does Bamboo support nested variables?

Assume we have a variable A=abc, is it possible to define a variable B=${bamboo.A}xyz?

5 answers

0 votes

Hello,

Thank you for your question.

Could you please let us know which Bamboo version are you running and where are you planning on using the nested variable, please?

Kind regards,
Rafael P. Sperafico
Atlassian Support

I haven't tried it, but:

 

https://marketplace.atlassian.com/plugins/net.collabsoft.plugins.bamboo.nestedVariables

 

If you look at the documentation on variables there are links on the subject.

 

Rafael, Bamboo ver 5.7.2. I am going to define some global variables, one of them is a version number or something, which is referenced by others.

Looks like the plugin mentioned by @Kendall Shaw is what I need. Thanks, @Kendall Shaw.

Just want to double confirm that, nested variables are not natively supported by Bamboo, right?

Ha, I could answer my own question. The answer is YES, see Bad+Substitution+in+nested+variables. The ticket BAM-8266 has been dormant there for 3 years!! 

 

Hi @Krystian Krystian , we can make do with hard coding the variable for now. Your suggestion is appreciated.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

664 views 2 7
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