bulk_publish_draft_notes
Publish all draft notes for a merge request while optionally setting reviewer state and posting a summary note. Works even with no drafts, enabling bulk draft management in GitLab.
Instructions
Publish all draft notes for a merge request. Optionally sets reviewer_state and posts a summary note (GitLab 19.2+). Can set reviewer_state even with no drafts. Use this for the specific operation described; choose a sibling tool when you need a different resource or lifecycle action. It changes remote GitLab state and requires the necessary project or group permission; GitLab returns validation, conflict, permission, or rate-limit errors instead of silently applying an invalid request. When project_id or group_id is accepted, provide the numeric ID or complete URL-encoded path described by the schema; use required identifiers and pagination fields exactly as documented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Summary note body to post on the merge request (GitLab 19.2+) | |
| internal | No | If true, the summary note is internal (GitLab 19.2+, default false) | |
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| reviewer_state | No | Set reviewer review state after publishing (GitLab 19.2+). Does not record a formal approval. Works even with no draft notes. | |
| merge_request_iid | Yes | The IID of a merge request |