Actions71
- Branch Actions
- File Actions
- Group Actions
- Issue Actions
- Merge Request Actions
- Pipeline Actions
- Project Actions
- Raw API Actions
- Release Actions
- Tag Actions
Issue → Close
AI-generatedSummary
Closes an existing GitLab issue using the state_event API parameter.
Inputs
- Issue IID (required) — Issue number to close (must be positive)
- 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 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 ID — Numeric project ID. Used when "Project Locator" is set to "ID". (Optional, default: 0)
- Project Locator — Choose how to identify the project for project-scoped GitLab API endpoints (Optional, default: id)
Output shape
a single record
Returns the updated issue object from the GitLab API.
Examples
Example 1: Close a specific issue in a project identified by ID.
Project Locator: ID, Project ID: 123, Issue IID: 456