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:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.