get_issue_link
Retrieve a specific issue relationship link from a GitLab project by providing project ID, issue internal ID, and relationship ID.
Instructions
Get a specific issue link
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID or URL-encoded path | |
| issue_iid | No | The internal ID of a project's issue | |
| issue_link_id | No | ID of an issue relationship |
Implementation Reference
- schemas.ts:1370-1374 (schema)Schema definition for input parameters of the 'get_issue_link' tool, mapping to GitLab API /projects/{project_id}/issues/{issue_iid}/links/{issue_link_id}.export const GetIssueLinkSchema = z.object({ project_id: z.coerce.string().describe("Project ID or URL-encoded path"), issue_iid: z.coerce.string().describe("The internal ID of a project's issue"), issue_link_id: z.coerce.string().describe("ID of an issue relationship"), });
- schemas.ts:1359-1363 (schema)Response schema for issue link data returned by the get_issue_link tool.export const GitLabIssueLinkSchema = z.object({ source_issue: GitLabIssueSchema, target_issue: GitLabIssueSchema, link_type: z.enum(["relates_to", "blocks", "is_blocked_by"]), });
- schemas.ts:1365-1368 (schema)Related schema for listing issue links (list_issue_links tool). Mentioned in tests.export const ListIssueLinksSchema = z.object({ project_id: z.coerce.string().describe("Project ID or URL-encoded path"), issue_iid: z.coerce.string().describe("The internal ID of a project's issue"), });