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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

30,110 views 26 12
Join discussion

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