Create merge request
gitlab_create_merge_requestCreate a GitLab merge request by specifying project ID, source branch, target branch, and title to merge changes and start code review.
Instructions
Create a new merge request.
Args: **kwargs: Additional parameters for the request (e.g., project_id, source_branch, target_branch, title).
Returns: Response: A wrapper containing the original response and a MergeRequest model.
Raises: MissingParameterError: If the project_id, source_branch, target_branch, or title is missing. ParameterError: If invalid parameters are provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wip | No | ||
| data | No | ||
| page | No | ||
| sort | No | ||
| view | No | ||
| scope | No | ||
| state | No | ||
| title | Yes | ||
| labels | No | ||
| search | No | ||
| squash | No | ||
| order_by | No | ||
| per_page | No | ||
| author_id | No | ||
| max_pages | No | ||
| milestone | No | ||
| search_in | No | ||
| project_id | No | ||
| assignee_id | No | ||
| description | No | ||
| environment | No | ||
| reviewer_id | No | ||
| approver_ids | No | ||
| assignee_ids | No | ||
| milestone_id | No | ||
| reviewer_ids | No | ||
| created_after | No | ||
| source_branch | No | ||
| target_branch | No | ||
| updated_after | No | ||
| api_parameters | No | ||
| created_before | No | ||
| deployed_after | No | ||
| search_exclude | No | ||
| updated_before | No | ||
| approved_by_ids | No | ||
| author_username | No | ||
| deployed_before | No | ||
| my_reaction_emoji | No | ||
| reviewer_username | No | ||
| target_project_id | No | ||
| allow_collaboration | No | ||
| with_labels_details | No | ||
| remove_source_branch | No | ||
| approvals_before_merge | No | ||
| allow_maintainer_to_push | No | ||
| with_merge_status_recheck | No |