create_merge_request
Create a merge request between branches to propose and review code changes, with options for draft status, labels, and squash commits.
Instructions
Create a merge request between branches with description and options
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | Create as draft / WIP merge request | |
| title | Yes | Merge request title | |
| labels | No | Labels to apply | |
| squash | Yes | Squash commits upon merge | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. | |
| description | No | Detailed description of changes and test verification | |
| milestone_id | No | Milestone ID to associate with | |
| source_branch | Yes | Branch containing your commits | |
| target_branch | Yes | Branch to merge changes into (e.g. 'main') | |
| milestone_title | No | Milestone title to associate with | |
| remove_source_branch | Yes | Delete source branch upon merge |