Forums

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

Is it possible to set global branch permissions on bitbucket?

MikePineda January 13, 2020

We want to prevent changes without a pull request to the master branch on all the repositories of the instance. That's something I can achieve using branch permissions in the project or repository settings, but, is there a way  I can apply a branch permission to all of the projects without setting it manually on each project/repository?

 

Thanks in advance :)

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
January 13, 2020

Hi @MikePineda,

Welcome to Atlassian Community.

Currently, you cannot set global settings for branches, it can only be done on a project level. If you do not want to set it manually on each project, one option to explore would be to use the REST API. 

MikePineda January 13, 2020

Thanks for the quick response @Mikael Sandberg  . I'll manage that permission on each project then. I will also check the REST API and see what is capable to do :). Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events