GitLab API icon

GitLab API

Gitlab

Actions1062

Merge_requests → getApiV4ProjectsIdMergeRequestsMergeRequestIidRelatedIssues

AI-generated

Summary

Retrieve issues related to a specific merge request in a GitLab project using the GitLab API v4 endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the merge request.
  • merge_request_iid (required) — The internal ID of the merge request within the project.
  • page — Page number of results to fetch (pagination). Defaults to 1 if not provided.
  • per_page — Number of issues to return per page. Defaults to 20 if not provided.
  • skipAuthentication — Optionally skip authentication; normally authentication via GitLab API credentials is required.
  • baseUrl — Custom base URL for the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a paginated list of issue objects related to the specified merge request

Results are paginated according to the 'page' and 'per_page' query parameters. Authentication is required unless 'Skip Authentication' is enabled. The endpoint corresponds to GET /api/v4/projects/{id}/merge_requests/{merge_request_iid}/related_issues.

Links

Discussion