Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to set merge rules on a workspace scale?

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.

1 answer

0 votes

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:

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

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...

3,781 views 10 16
Read article

Community Events

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

Events near you