Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Configure Bamboo Branch Naming Convention

jake_naughton July 1, 2020

At the moment, when an automated bamboo branch is added, it is named after the git branch. For example:

feature/XX-1234

becomes:

feature-XX-1234

Is there away to change the automated naming convention? In my particular case I would like the branches to include the original creators name:

{branchName}-{user.name}

example:

feature-XX-1234-john.doe

This would help developers in our team be able to identify which branches are theirs. We all so send broken builds to a slack channel for back merging and need to alert the correct developer, doing this off the last person to commit is not always accurate here.

Unsure of how to achieve this? Happy to install any plugins

1 answer

0 votes
Lasse Langhorn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2020

Hi @jake_naughton

Would it be possible to add the the name of the creator as a suffix to the git branch when created? Then it will propagate to Bamboo.

Otherwise you will have to create the branch manually in Bamboo and then choose the display name.

Regards

Lasse Langhorn

jake_naughton July 3, 2020

@Lasse Langhorn 

Would it be possible to add the the name of the creator as a suffix to the git branch when created? Then it will propagate to Bamboo.

We thought of this, it would make our branch naming far too messy.

Otherwise you will have to create the branch manually in Bamboo and then choose the display name.

This is kind of what we are doing, once they get automatically created we change the branch display name to include the devs name. Anything that requires manually work however is a pain. It would be optimal if we could automate this. If it is not possible are there any future plans to implement this feature?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events