GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the issues that are closed by a specific merge request in a GitLab project. It is useful for tracking which issues have been resolved by a particular merge request, helping in project management and issue tracking workflows. For example, a user can fetch all issues closed by a merge request to update project status or generate reports.

Use Case Examples

  1. Fetch issues closed by merge request IID 42 in project with ID 'my-group/my-project'.
  2. Retrieve paginated lists of issues closed by a merge request to monitor progress.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Optional query parameters for pagination.
Path Parameters Required path parameters to identify the project and merge request.

Output

JSON

  • issues - List of issues closed by the specified merge request.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and merge request IID are correctly specified and URL-encoded if necessary.
  • Verify that the authentication token has sufficient permissions to access the project and merge request data.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages may include 404 Not Found if the project or merge request does not exist, or 401 Unauthorized if authentication fails.

Links

Discussion