create_merge_request
Create a new GitLab merge request from a source branch to propose code changes for review and integration.
Instructions
Create a new GitLab merge request from a source branch
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | GitLab project ID or path (aliases: project_id, project_path; e.g., "12345" or "group/project") | |
| sourceBranch | Yes | Source branch name (aliases: source_branch; e.g., "feature/new-feature") | |
| targetBranch | No | Target branch name (aliases: target_branch; defaults to "main") | main |
| title | No | Merge request title (auto-generated from branch name if not provided) | |
| description | No | Merge request description | |
| assigneeId | No | User ID to assign the merge request to | |
| reviewerIds | No | Array of user IDs to request reviews from | |
| deleteSourceBranch | No | Whether to delete source branch when MR is merged | |
| squash | No | Whether to squash commits when merging | |
| workingDirectory | No | Local repository path for auto-detecting project ID (aliases: working_directory, cwd) | |
| remoteName | No | Git remote name used for auto-detecting the project ID | origin |