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.

Thanks.

2 answers

1 accepted

Accepted Answer
0 votes

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.

Regards,

Gustavo Refosco

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,343 views 9 12
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