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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome!
I'm glad to be the one delivering this news to you.
Have a good one!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.