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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

2,132 views 11 6
Join discussion

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