Prevent PR author from being reviewer

Hello,

In our Bitbucket implementation, for some projects/repositories, we need to prevent authors from adding themselves as reviewers for pull requests.

Does anyone have any idea how to achieve this?

Thank you!

2 answers

1 accepted

1 votes

[continued from my comment]

According to https://answers.atlassian.com/questions/16877304 it apparently hasn't been possible back in 2015 at least, and that matches our experience with release 4.4.1 still.

I have briefly checked later release notes, but couldn't identify anything obvious, though the option to 'Add default reviewers for pull requests' in Bitbucket Server 4.8 might imply what you are seeing if a PR author is also a default reviewer - are you on 4.8.x already?

Hi @Steffen Opel [Utoolity],

Your answer did raised some questions here, it appears there have been some serious modding going on by some Java guys, to allow that to happen. I've reverted those and now my initial requirement, not to allow self as reviewer, is working as expected.

Thank you for your help!

0 votes

Interesting, how do you actually add yourself as a reviewer? We are in the opposite camp, i.e. we'd prefer being able to do so (to signal a PR as 'ready for review') - this works in Bitbucket Cloud, but doesn't seem to be available in Bitbucket Server (on 4.4.1 right now)?

Maybe we can figure out the difference between our Bitbucket Server configurations so that we can both get what we want smile

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

683 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot