Prevent PR author from being reviewer


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 vote
Accepted answer

[continued from my comment]

According to 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!

Apparently, this is true in Bitbucket Cloud. Just saw it happen, author added himself as reviewer, approved the pull request, and merged it. :( Again, how can this be prevented?

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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,960 views 7 10
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