Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add minimum number of reviewers to pull request

navgupt September 17, 2020

Hi Community, I want to know if there is such setting or plugin available where I as bitbucket admin can set a minimum number of approver before it can be merged. 

2 answers

1 accepted

0 votes
Answer accepted
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2020

Hi,

I'm not aware of a way of setting a minimum number of reviewers, but you can set a minimum number of approvals, which by virtue of logic is also a minimum number of reviewers: https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html

Cheers,

Christian

Premier Support Engineer

Atlassian

navgupt September 21, 2020

Thanks Christian. This satisfies my requirement for now :). 

0 votes
Julius Davies [bit-booster.com]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2020

 

@Christian Glockner's answer is good and allows the minimum # of approvals to be set per-project or per-repository.

Our own plugin (Control Freak) further enhances this idea to allow the minimum to be defined globally.  Control Freak also gives you the ability to not count read-only users towards this threshold (e.g., normally any user can approve any pull-request against a "public" repository - you can use Control Freak to prevent that).

Control-Freak itself is free, but it requires our paid PR-Booster plugin to be co-installed to enable this particular feature.

 

Here's a screenshot from Control Freak's config page:

 

pr-checks.png

navgupt September 21, 2020

Thanks a lot for input. I appreciate.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events