Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Gueorgui Milouchev January 27, 2021

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 1, 2021

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
AUG Leaders

Atlassian Community Events