Benefits of general quota vs group quota
Workzone pull request reviewer groups yields to the nature of every team and enterprise – people come and go and constantly move in and out of teams.
Defining reviewer groups as opposed to a set of fixed pre-defined reviewers allows for smooth transition of employees between teams and organisations without pull requests becoming blocked and stale because of some reviewers having moved on.
Workzone reviewer groups come as ‘casual’ and ‘mandatory’.
Group Quota – Casual reviewer groups : When a pull request is created all members of the group(s) are added as pull request reviewers. The Workzone merge conditions specify a certain quota of group members have to approve before the pull request can be merged.
- Create a group for reviewers,
- Add this group in the reviewer configuration
- Then configure a group quota inside your merge condition, like
groupQuota >= 3
Mandatory reviewer groups: When a pull request is created all members of the mandatory group(s) are added as pull request reviewers. All or a certain number of members of a configured mandatory reviewer group must approve the pull request before it can be merged. Mandatory reviewers cannot be removed from a pull request or exchanged.
There is no need for a ‘mandatoryGroupQuota’ as above approach using normal group quota makes approvals from members of certain group ‘mandatory’.