Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to block users (or groups of users) from approving pull requests.

markgillespien June 17, 2022

We have some junior engineers that we wish to be able to review and inline comment on code reviews, however we don't want them approving pull requests.

Is this possible in Bitbucket?  Either out the box, or with a plugin?

 

Thanks.

1 answer

0 votes
Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 20, 2022

Hi @markgillespien 

Bitbucket repository and/or project settings let you define default reviewers https://confluence.atlassian.com/bitbucketserver/add-default-reviewers-to-pull-requests-834221295.html

You can also configure a merge-check https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html for pull requests that require a certain number of approvals from (default) reviewers.

That all works out of the box.

If you need more granular control over

* file/path reviewers and groups (reviewers and groups are added depending on which files have changed)

* merge-check group quota per individual groups

* enforced merge checks for users without complicated branch permissions

.... check out Workzone for Bitbucket https://marketplace.atlassian.com/apps/1211303/workzone-pullrequest-workflow?hosting=datacenter&tab=overview - and let us know how you go.

Best, Ulrich

// Izymes.

markgillespien June 20, 2022

The out of the box controls definitely don't offer this, and reading the description of workzone, this doesn't either.   We don't want to define who is a default reviewer, or even to try and have bitbucket suggest reviewers.

We are trying to block  a specific group of users from approving pull requests, whilst still permitting them to comment.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.1.1
TAGS
AUG Leaders

Atlassian Community Events