Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to lookup UUIDs for default reviewers via the API (which is possible via the UI)



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...

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

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...

3,792 views 10 16
Read article

Community Events

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

Events near you