Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restrict_merges branch restriction requires "Bitbucket Username" #185

Open
twoodhouse opened this issue Mar 18, 2024 · 0 comments
Open

restrict_merges branch restriction requires "Bitbucket Username" #185

twoodhouse opened this issue Mar 18, 2024 · 0 comments

Comments

@twoodhouse
Copy link

I spent a while wrestling with assigning users to the "restrict_merges" branch restriction before realizing that the go library used by this provider can only create user objects within a branch restriction based on those users' Bitbucket usernames. Atlassian account id or UUID will not work.

https://github.com/ktrysmt/go-bitbucket/blob/master/branchrestrictions.go#L127

For automation, this is less usable than the other IDs since Bitbucket Cloud doesn't allow anyone (even admins) to retrieve the Bitbucket Username of a user other than themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant