microplane icon indicating copy to clipboard operation
microplane copied to clipboard

Approver is not propagated to GitLab merge requests

Open dnesting opened this issue 3 years ago • 1 comments

When using mp push -a dnesting with an enterprise GitLab, merge requests are created with no assignee, despite having an assignee in mp status output.

dnesting avatar Apr 07 '22 23:04 dnesting

I suspect the culprit is at https://github.com/Clever/microplane/blob/master/push/pushGitlab.go#L52. The GitLab merge request options should include an Assignee up front (see https://github.com/xanzy/go-gitlab/blob/master/merge_requests.go#L561), but it looks like only a handful of elements are populated, similar to how GitHub works.

dnesting avatar Apr 07 '22 23:04 dnesting