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

is it able to set minimum approver from different review groups?

DW.C
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 12, 2024

We want to have at least 2 minimum approvers for a pulll request, and these 2 approvers need to be from different reviewer groups, merge should be not allowed if 2 approvers are from same group,  are we able to do this? 

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.
March 13, 2024

Hello DW.C!

Welcome to the community.

In Bitbucket data-center you can create repository groups and set the repository merge-check 'minimum required approvals' to '2'

However, that won't enforce the 'min approval per group' condition, as the repository groups are only used to populate the PR with reviewers.

You may consider using an app for this. We have created the Workzone app that allows fine-grained PR merge control for repository and even Bitbucket directory or external AD groups.

With Workzone you can set all reviewer configurations and merge-checks in one place.

In your example you would configure Workzone

  • Reviewers: for the PR target branch add 2 reviewer groups (from AD or repo groups)
  • Merge: for the PR target branch you would set approvalCount: 2 and groupQuota: 1 
  • (Auto-merge): if you want to merge the PR automatically when all required approvals are given, configure an auto-merge user in the Merge settings.
  • Properties: If the merge-check is to be enforced, activate 'Enforce merge condition'

Hope that helps. Please reach out to our friendly support, if you have any trouble setting this up.

Best, Ulrich

// Izymes 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events