gitlab api pro icon

gitlab api pro

Extended GitLab node

Merge Request → Reopen

AI-generated

Summary

Reopen a closed merge request in a specified GitLab project by updating its state to 'reopen'.

Inputs

  • Authentication — Choose either saved credentials or custom authentication fields for GitLab API access.
  • GitLab Server — Base URL of your GitLab instance, required only if using custom authentication.
  • Access Token — Personal access token with API permissions, used only with custom authentication.
  • Project Locator (required) — Select how to identify the target project, either by numeric ID or by namespace and project name path.
  • Project ID (required) — Numeric project ID; required if Project Locator is set to 'ID'.
  • Project Owner (required) — Namespace or owner of the project; required if Project Locator is set to 'Path'.
  • Project Name (required) — Project slug or name; required if Project Locator is set to 'Path'.
  • Merge Request IID (required) — The internal ID (IID) of the merge request to reopen; must be a positive number.

Output shape

a single record representing the updated merge request object

Returns the JSON of the merge request after changing its state to 'reopen'. The user must provide a valid project identifier and merge request IID. Authentication may be via credentials or custom token. The operation uses a PUT request to update the merge request state_event to 'reopen'.

Links

Discussion