Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict creation of branch by user in bitbucket cloud

skaul November 19, 2025

Is there a native way in bitbucket cloud where users can be prevented to not have capability to create branches that doesnt start with feature/* , bugfix/* , user/* etc. 

 

So i see that if i open the add branch restriction i can restrict branch creation by putting in a regex and give no one a write permission hence user not being able to create any branches.

branch_restriction.PNG
So my question is what should be the value there so that users are not able to create branches that dont start with.

1. feature/*

2. bugfix/*

3. hotfix/*

4. develop

5. user/*

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events