-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open an issue and create a MR out of that issue #153
Comments
@nvgoldin We don't have anything specifically support that workflow right now. I'm not familiar with the functionality in GitLab so I'll have to try it out before I could comment on how to support it here. In the meantime ideas on workflow you'd use within lab would be very welcome. Such as what commands you'd like to execute. Off the cuff,
|
It seems like it is a specific workflow. Is this workflow considerably widespread? If so, what is it called? You may have to create a merge request and link the MR to the Issue using the edit issue:
thoughts? |
Had a chance to try out the "create merge request" on issue feature and it look like it indeed creates a new branch named after the issue and also creates a
Part of me worries about the implications of creating empty merge requests that may or may not have changes ready to be pushed... but I'm willing to make these changes. Not sure when I will have the change to get to them however. There are some other requests/issues I'd like to tackle first, and I'm currently swamped at work so I haven't been able to get in any coding here in the last couple weeks. |
@nvgoldin How would the above work for you? |
lab issue create --mr # for creating WIP mr in the same swing as creating an issue
lab issue create mr <issue_id> # for create a WIP mr off an an issue The above two would do exactly what I need! I am surprised this flow is not common actually, I thought that is the 'standard' way of doing things in GitLab. After using it for nearly a year I can't even think of a branch name which does not equal to the issue name. |
any news here? |
any news about this issue, thank you |
I think this died on the vine so to speak. Re-reading back through this you want to do
I'll look into it. |
@matrixise , I took a look at implementing this. I've always created a branch, pushed the branch, and then created an MR on that branch (via lab and the GitLab webUI). I have a public test project [1] where I've created an issue [2] but do not see a "Create a Merge Request" option. Is there something obvious I'm missing? I do see that GitLab Quick Actions [3] support the creation of an MR from an issue, but only for a previously created branch ie) /create_merge_request I have a feeling there is something I'm missing OR perhaps some functionality changed on GitLab. [1] https://gitlab.com/prarit/Test-Lab |
@bmeneguele @zampierilucas I suppose we could do this one with quick actions as well? What do you two think? |
@prarit The criteria for the create_merge_request_button and /create_merge_requuest working is[1]:
Which we could use the quick actions to tackle, but I haven't found any API return that confirms if the criteria listed above has met. [1] https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-new-branch-from-an-issue |
Hi,
I use this GitLab flow a lot:
Is it possible to do both these operations with Lab?
The text was updated successfully, but these errors were encountered: