We're looking to set branch permissions at the project level for all child repos.
According to the following article it can be done with Bitbucket Data Center and Server, but I can't see any documention or options for doing the same in Bitbucket Cloud.
https://confluence.atlassian.com/bitbucketserver/using-branch-permissions-776639807.html
Is that a Data Center/Service product only feature? If it's not natively supported for Bitbucket Cloud in the web interface, is there another way of going about setting branch permissions en masse?
Many thanks.
Hi @Bunny Davies,
This feature is indeed available in Bitbucket Server/Data Center only, it is not available in Cloud yet. We have a feature request about this in our issue tracker that I would suggest voting for if you'd be interested in this:
We have an API endpoint for creating branch permissions:
So, you could write a script that creates the same branch permissions for the repositories you like.
If you have any questions, please feel free to let me know.
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.