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 vote

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

708 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot