How to disable "Others" branch prefixes in bitbucket

Newthon Junior December 11, 2023

I'm able to disable the Bugfix, Feature, Hotfix and Release Branch prefixes in Branching model but not the Other Type when creates a branch. This way, if I disable Bugfix for example, developer still can create branches with prefix bugfix using the Other: bugfix/<branch name>

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 12, 2023

Hello @Newthon Junior and thank you for reaching out to Community!

The branching model feature is just a way to tell Bitbucket what naming convention you would like each kind of branch to use.

However, that feature will not prevent a user from creating a branch with a different name or using a prefix that you have disabled in the branching model. Users can still provide custom branch names using the Other option.

We had the feature request BCLOUD-21714 in the past to disable the type "other", but this feature didn't get enough interest. However, you can still vote for that feature and add a comment there with your use case, as our Product managers constantly evaluate the feature requests including the closed ones.

Thank you, @Newthon Junior !
Patrik S

Newthon Junior December 13, 2023

I can see a button Accept answer. But, what about a button Not Accept answer or It didn't solve my problem?

I think that only one button and Atlassian sending emails asking Did this answer help you? doesn't help

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events