gitlab api pro icon

gitlab api pro

Extended GitLab node

Merge Request → Create Note

AI-generated

Summary

Posts a new comment to a GitLab merge request's discussion.

Inputs

  • Authentication — Select whether to use saved credentials or custom fields for this node (Optional, default: credential)
  • GitLab Server — Base URL of your GitLab instance, for example "https://gitlab.com" (Optional, default: https://gitlab.com)
  • Access Token — Personal access token with API permissions (Optional)
  • Project ID — Numeric project ID. Used when "Project Locator" is set to "ID". (Optional, default: 0)
  • Project Owner — Namespace or owner of the project. Used when "Project Locator" is set to "Path". (Optional)
  • Project Name — Project slug or name. Used when "Project Locator" is set to "Path". (Optional)
  • Project Locator — Choose how to identify the project for project-scoped GitLab API endpoints (Optional, default: id)
  • Merge Request IID (required) — The merge request IID (must be positive) Default: 1
  • Body — Note text, e.g. 'Looks good to me' (Optional)

Output shape

a list of items containing the created note data

Returns the full API response for the created note.

Examples

Example 1: Add a status update to a merge request in a specific project

Set Project Locator to ID, provide Project ID, Merge Request IID, and the note Body.

Example 2: Post a review comment to a merge request by namespace and path

Set Project Locator to Path, provide Project Owner and Name, Merge Request IID, and the note Body.

Links

Discussion