Auto-merge: approvalQuota + groupQuota

We have a group (with 3 people) auto-added to pull requests, and want the auto-merge to require one member of the group plus one other person (somebody not in the group).

We tried to accomplish this with "approvalQuota >= 100% & groupQuota >= 1", however the approvalQuota also applied to all members of the group.

Is there a way to make this work?


1 answer

Try adding that other person as a mandatory reviewer. Then also set the approvalQuota to a small value (say 10%). Workzone will check if at least one person from the group has approved AND if the mandatory reviewer has approved. 

In our case, it's up to the user submitting the pull request to add the other person. It could be whoever they want, probably usually whoever did their code review or just somebody on their team or something like that.

The way it works makes sense in retrospect, but we mistakenly thought that approvalQuota included individuals who are not a part of a group. That might be worth clarifying in the documentation.

We were able to get it to work more or less OK for us now by using "groupQuota >= 1" along with the built-in requirement that pull requests be approved by two people. So now they have to have at least two approvals, and at least one of those has to be from our group.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

441 views 8 26
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you