Skip to main content

Create Merge Request

Creates a new merge request.

External Documentation

To learn more, visit the GitLab documentation.

Parameters

ParameterDescription
Allow CollaborationAllow commits from members who can merge to the target branch.
Assignee IDsThe ID of the user(s) to assign the MR to. Set to 0 or provide an empty value to unassign all assignees.
DescriptionDescription of MR.
LabelsComma-separated label names for a merge request. Set to an empty string to unassign all labels.
Milestone IDThe global ID of a milestone to assign the merge request to. Set to 0 or provide an empty value to unassign a milestone.
Project IDThe ID or path of the project owned by the authenticated user. If the path is being used, it should be url encoded - for example: user%2my-project .
Remove Source BranchFlag indicating if a merge request should remove the source branch when merging.
Reviewer IDsThe ID of the user(s) set as a reviewer to the MR. Set the value to 0 or provide an empty value to unset all reviewers.
Source BranchThe source branch.
SquashSquash commits into a single commit when merging.
Target BranchThe target branch.
TitleTitle of MR.

Workflow Library Example

Create Merge Request with Gitlab and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop