Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Bamboo PlanName from feature branch

Bamboo offers the variable bamboo_planname to see what the name of the plan is that is being built. This works great however when we are building a feature/branch-name branch, the plan name is not the name of the plan anymore, but in fact feature-branch-name.

How can I easily get the plan name or log a bug ticket for Atlassian to fix this?

1 answer

1 accepted

1 vote
Answer accepted

Hi @Marais van Zyl

I was checking our bug report system and found this one: [BAM-17810] shortPlanName contains branch name for plan branches, released 9 days before this message (Bamboo Release Notes - 6.10).

I'm not sure if we are on the same page, but the problem seems to be with the variable shortPlanName not with the planName. In case I'm wrong, please share your Bamboo version to allow us to check this.

In my tests this is what I get in Bamboo 6.9.2 (Bamboo variables):

|branch \ variable|bamboo.planName                    |bamboo.shortPlanName|
|master(default) |Project Name - Plan Name | Plan Name |
|branch |Project Name - Plan Name - branch | branch |

For me, the problem seems to be that short plan name is not returning the plan name, but the branch name. 

Please let me know if that makes sense.

Yes sorry I meant shortPlanName. I'm really delighted to see that Bamboo 6.10 contains a fix for this. It will make things a lot easier going forward!

Thanks for fixing this!

Like Daniel Santos likes this

You are welcome!
I'm glad to be the one delivering this news to you.
Have a good one!

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

67 views 0 4
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