I'm trying to reference ${bamboo.shortPlanBranchName} in my build plan
https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html.
It works for branches other than the default branch, but when running the default branch, it returns blank.
Hello garrellj,
Welcome to Atlassian community.
This is expected because this build will return the name for only Plan branches and not the default branch ( main branch ).
As per the description at Bamboo Variables
For the default branch if you need the same you can use
Regards,
Shashank Kumar
**please don't forget to Accept the answer if your query was answered**
It looks like you're new here. Sign in or register to get started.