Hello! Is there a Bitbucket API to get branch permissions? Specifically, if a repository has the "Merge via pull request" policy.
Thanks in advance.
Hi @Camilo Sasía
I believe what you are looking for is an API endpoint - Branch permission this should list out the current branch permission on the repositories.
We don't have an API endpoint to get a list of repositories that has Branch permission, unfortunately, this has to be done manually on each repository within your Workspace. We do have an existing feature request on this, please Vote & Watch the feature request so that you'll receive an update whenever we have any at:
I hope this helps.
Cheers,Syahrul
It looks like you're new here. Sign in or register to get started.