I mean something like, "In this workspace, no one can merge to master without a pull request"
I want to change the permissions for a lot of repositories at once and it would take me forever to configure merge rules for every single one.
Hi @Gueorgui Milouchev ,
I'm afraid that this is not possible at the moment.
We have a feature request in our issue tracker that you can vote for
You can also add yourself as a watcher (by selecting the "Start watching this issue" link) if you'd like to get notified via email on updates. Implementation of new features is done as per our policy here https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html and any updates are posted in the feature request.
In the meantime, one suggestion I can make would be to use our API to create a branch restriction in all repos of your workspace.
You could write a script where you retrieve all repos owned by a workspace and their respective UUID with this endpoint:
and you can then use the following endpoint to create a branch permission in each repo of this workspace:
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events