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

Set eligible pull-requst reviewers from group?

Hello

users with repo-read-permission can be set as reviewers.

But I like to limit the users to a subset of those, defined in a Bitbucket group. By this, the PR-author or someone who edits the PR could only select users a) with at least repo-read-permisson and b) is in that group. And only users of a) and b) could add themself as reviewer.

Is this possible?

Best regards, Johannes

 

1 answer

0 votes
Roger Barnes Atlassian Team Tuesday

Hi Johannes,

 

This is currently possible with any built-in functionality, but I could imagine a custom add-on being able to tweak the behaviour.

Alternatively, if what you really care about it who can _approve_ a PR for the purposes of passing merge checks, you could use default and required reviewers functionality to avoid a loophole where a non-"blessed" reviewer causes a merge-check to pass. Note that this doesn't address your stated goal of preventing people from being added as reviewers or approving, but perhaps your underlying doesn't require that.

https://confluence.atlassian.com/bitbucketserver/add-default-reviewers-to-pull-requests-834221295.html

Suggest an answer

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

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

548 views 2 4
Join discussion

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