capabilities.work

Publish a draft note

One step with GitLab. We can help you get access.

Get something done

Publish a draft note

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Draft notes API lets you publish a draft note in a single step (PUT /api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes/{draft_note_id}/publish). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I turn a draft note into a real comment on a merge request?
  • Can I publish one draft comment so the author sees it?
Say it to your AI assistant
  • Publish draft note {draft_note_id} on merge request {merge_request_iid} in project {id}.
  • Post draft comment {draft_note_id} on MR {merge_request_iid} in {id} as a real comment.
For your developer

PUT /api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes/{draft_note_id}/publish in GitLab REST Draft notes API. Full spec on APIs.io.