Hello! Is there a Bitbucket API to get branch permissions? Specifically, if a repository has the "Merge via pull request" policy.
Thanks in advance.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.