Feature Request: Set Reviewer via Push Option
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Release notes
Currently when pushing upstream to a GitLab repository you can create merge requests and set additional properties of the merge request via push options. Currently capabilities include title, assignee, description, milestone and labels, among others, but do not include the ability to set reviewers. This proposal would add the ability to specify reviewers via a push option the same way a user can be assigned.
Reference https://docs.gitlab.com/ee/user/project/push_options.html#push-options-for-merge-requests
Problem to solve
Currently, developers cannot set a reviewer when they create a merge request using git push options. Current workarounds are to create the merge request manually through the GitLab UI, or create the merge request through a push option and then subsequently log into the UI and set the reviewer. This slows down developer productivity because it requires manual intervention via the UI instead of being able to accomplish this directly from their development shell.
Proposal
Additional push option will be added to GitLab allowing the user to add a reviewer.
git push origin -u upstream_branch -o merge_request.create -o merge_request.reviewer="<user>"
Intended users
- Delaney
- Sasha
Feature Usage Metrics
Unknown