Skip to main content

Update Merge Request

Updates an existing merge request. You can change the target branch, title, or even close the MR.

External Documentation

To learn more, visit the GitLab documentation.

Parameters

ParameterDescription
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. Limited to 1,048,576 characters.
Merge Request Internal IDThe ID of a merge request.
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.
SquashSquash commits into a single commit when merging.
State EventNew state (close/reopen).
Target BranchThe target branch.
TitleTitle of MR.

Workflow Library Example

Update Merge Request with Gitlab and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop