I've got a security model where (most) users are not granted admin privileges for repositories but need to be able to add (not modify / delete) default reviewers. This is usually required when they are creating new repositories, I need to enforce certain repository settings (merge checks, no public forks etc) when repositories are being created so I have some automation utilising the API for this.
Since about a month ago it is no longer possible to add default reviewers by username and UUIDs need to be used. I do not see any way of looking up user UUIDs via the API based on their name / e-mail - it is possible to look up users via the UI though (both in the default reviewers settings which requires higher privileges and the PR pages themselves which don't require higher privileges), from what I've noticed the UI uses `mention_id`s for this.
How can I make it possible for my users to add default reviewers? Even as an admin, even in the UI, I can't see a way of fetching every team members' UUID to make a map / catalogue which could be used for this...
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events