Skip to content

Resolve "Add a `/create_merge_request` quick action"

What does this MR do?

With this quick action the user can create a new MR starting from the current issue using as source_branch the given branch name and as target_branch the project default branch. If the branch name is omitted a name is automatically created starting from the issue title.

For the reviewer

We don't deal with merge request creation errors, the main reasons are:

  • we could launch multiple commands, some may error and some may not: dealing with multiple error messages/ errors only in some commands is quite complicated and I thought we could skip that for now
  • we already don't handle some errors, for example when we /assign @invalid_user

Video example

2018-10-19_09.20.36

Does this MR meet the acceptance criteria?

Closes #40085 (closed)

Edited by 🙈 jacopo beschi 🙉

Merge request reports