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

Accepted Answer
1 vote

[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 Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,340 views 9 12
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