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?
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.
Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG