You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.