> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Merge Request

Creates a new merge request.

<Note>
  External Documentation

  To learn more, visit the [GitLab documentation](https://docs.gitlab.com/ee/api/merge_requests.html#create-mr).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter            | Description                                                                                                                                          |
  | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Allow Collaboration  | Allow commits from members who can merge to the target branch.                                                                                       |
  | Assignee IDs         | The ID of the user(s) to assign the MR to. Set to 0 or provide an empty value to unassign all assignees.                                             |
  | Description          | Description of MR.                                                                                                                                   |
  | Labels               | Comma-separated label names for a merge request. Set to an empty string to unassign all labels.                                                      |
  | Milestone ID         | The global ID of a milestone to assign the merge request to. Set to 0 or provide an empty value to unassign a milestone.                             |
  | Project ID           | The 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 Branch | Flag indicating if a merge request should remove the source branch when merging.                                                                     |
  | Reviewer IDs         | The 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 Branch        | The source branch.                                                                                                                                   |
  | Squash               | Squash commits into a single commit when merging.                                                                                                    |
  | Target Branch        | The target branch.                                                                                                                                   |
  | Title                | Title of MR.                                                                                                                                         |
</div>

## Workflow Library Example

[Create Merge Request with Gitlab and Send Results Via Email](https://library.blinkops.com/workflows/create-merge-request-with-gitlab-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-merge-request-with-gitlab-and-send-results-via-email/canvas" />
</div>
