Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

mr for $x - unable to assign user #878

Closed
Spreadcat opened this issue Oct 14, 2021 · 0 comments · Fixed by #900
Closed

mr for $x - unable to assign user #878

Spreadcat opened this issue Oct 14, 2021 · 0 comments · Fixed by #900
Labels
bug Something isn't working

Comments

@Spreadcat
Copy link
Contributor

Description

When creating a MR for an existing issue and assigning a user to the MR, the user-assignment is not setup for the MR. The assignment field is empty and the MR unassigned.

Expected Behavior vs Actual Behavior

Expected:

  • The MR being created for an issue should have the user assigned when using the parameter -a.

Actual:

The user given in the parameter -a is not assigned to the created MR.

Steps to Reproduce

$ glab issue create -t 'Test issue 1' -a userstring
? Choose a template
   Open a blank Issue <--
? Description <Received>
? What's next?
   Submit <--
- Creating issue in user/testrepo
#14 Test issue 1 (less than a minute ago)
 https://example.com/user/testrepo/-/issues/14

$ glab mr for-issue 14 --remove-source-branch -a userstring --draft --with-labels
!23 Draft: Resolve "Test issue 1" (14-test-issue-1)
 https://example.com/user/testrepo/-/merge_requests/23
  • When checking now the GUI on the Gitlab server on example.com, the situation is as follows:

    1. Issue 14 has the user userstring assigned
    2. MR 23 does not(!) have the user userstring assigned.

Your Environment

  • Version used (Run glab --version): 1.21.1
  • Operating System and version: Ubuntu 20
@Spreadcat Spreadcat added the bug Something isn't working label Oct 14, 2021
@profclems profclems linked a pull request Nov 4, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant