Default Approvers for a merge request depend on what team a user is in
Currently, it's only possible to set a group of people as default approvers for a merge request.
We have a setup where we have 1 master repo, and several teams of developers.
TEAM A
- Dev 1
- Dev 2
- Dev 3 (An Approver)
TEAM B
- Dev 4 (An Approver)
- Dev 5 (An Approver)
- Dev 6 (An Approver)
Is there any kind of scheme where the default approvers for a merge request can be picked based on the requesters team?
So if Dev 1 makes a merge request, Dev 3 is set as approver.
And if Dev 4 makes a merge request, Dev 5 & 6 are set as approvers.
I realise there would be a lot of details to work out, but this came up in our office and we were just wondering if anything like this has been discussed before?
Our problem is we end up with people being assigned as approvers to a lot of merge requests they shouldn't be looking at (because it's the wrong team) and that is difficult for people to manage.
Also, with our companies setup with multiple teams working in one repo, is there anything different we could be doing in how we use groups and approvers that would help with this problem?
Thanks, James