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

Prevent PR author from being reviewer

Stefan Cimpeanu Aug 12, 2016

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 vote
Answer accepted
Steffen Opel [Utoolity] Community Leader Aug 12, 2016

[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?

Stefan Cimpeanu Aug 14, 2016

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!

Marjon Zubiri Feb 12, 2019

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
Steffen Opel [Utoolity] Community Leader Aug 12, 2016

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,311 views 1 22
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