GitLab API

GitlabTool

Actions1095

Merge_requests → getApiV4ProjectsIdMergeRequestsMergeRequestIidRelatedIssues

AI-generated

Summary

Retrieve the issues related to a specific merge request in a GitLab project by providing the project ID or path and the merge request IID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the merge request.
  • merge_request_iid (required) — The internal ID (IID) of the merge request to get related issues for.
  • page — The page number for paginated results, defaults to 1 if omitted.
  • per_page — The number of items to return per page, defaults to 20 if omitted.
  • skipAuthentication — Option to skip authentication; defaults to false.
  • baseUrl — Base URL of the GitLab instance, default is https://gitlab.com.

Output shape

a list of related issue records from the GitLab API, potentially paginated based on 'page' and 'per_page' parameters

The response includes paginated data if 'page' and 'per_page' parameters are used. Authentication is required unless explicitly skipped. The operation uses a GET HTTP method.

Links

Discussion