Specify branch permission restrictions on BitBucket

When setting up branch restrictions in BitBucket, the default is "Everyone" eg Prevent changes without a pull request on the develop branch. 

Is there a way to change this so that certain users are allowed to make change without a pull request - eg Jenkins.


2 answers

1 accepted

0 votes
Accepted answer

Hi @Ali Hashim,

I believe what you are asking for is the feature suggestion in https://jira.atlassian.com/browse/BSERV-7475

I'd encourage you to vote for and read the comments on that issue, they may help you solve your use-case for now.

Better support for adding "exceptions" to branch permissions is something we are definitely considering for the future.


Felix Haehnel
Graduate Developer
Bitbucket Server 

That is exactly what I require. Thanks for pointing out the ticket

Hi Ali,

I'm not quite sure I fully understand your question, so could you please inform how the permission on the develop branch is currently set?

If you want to set a branch permission over it, but still allow the users/groups in the permission set to write to this branch without a pull request, you can just set the branch permission leaving the Prevent: Changes without a pull request unchecked.


Gustavo Refosco

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

699 views 5 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you