go-bitbucket icon indicating copy to clipboard operation
go-bitbucket copied to clipboard

Add support for Inherited branch protection setting

Open ParthaI opened this issue 1 year ago • 1 comments

Dear Team,

  • I am using the API BranchRestrictions.Gets to the branch restriction settings for a repository.
  • The above API only returns only the branch restriction settings on the repository level.
  • However, I would like to get the Inheritaed branch restriction setting details that flow down from the project level to the repository level, as shown below.

image

The API might help add support for the Inherited branch protection setting: Retrieve the inheritance state for repository settings

Thanks!

ParthaI avatar Jan 18 '24 06:01 ParthaI

Dear, Team, Is there any updated regarding this issue?

ParthaI avatar Jan 29 '24 04:01 ParthaI