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.
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
@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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.