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?
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.
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...
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