capabilities.work

Add a merge request to a merge train

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

Get something done

Add a merge request to a merge train

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Merge trains API lets you add a merge request to a merge train in a single step (POST /api/v4/projects/{id}/merge_trains/merge_requests/{merge_request_iid}). 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 queue a merge request into a merge train?
  • Can a merge request be added to the train only when the pipeline succeeds?
Say it to your AI assistant
  • Add merge request {merge_request_iid} to the merge train in {id}.
  • Queue {merge_request_iid} in {id} for merge when the pipeline succeeds.
For your developer

POST /api/v4/projects/{id}/merge_trains/merge_requests/{merge_request_iid} in GitLab REST Merge trains API. Full spec on APIs.io.