create_issue_link
Link two GitLab issues by creating a relationship between them. Specify the source and target issue IDs and set the link type to relates_to, blocks, or is_blocked_by.
Instructions
Create an issue link between two issues. Use this for a new resource or action; choose the corresponding update or edit tool when the resource already exists. It changes remote GitLab state and requires the necessary project or group permission; GitLab returns validation, conflict, permission, or rate-limit errors instead of silently applying an invalid request. When project_id or group_id is accepted, provide the numeric ID or complete URL-encoded path described by the schema; use required identifiers and pagination fields exactly as documented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jmespath | No | Optional JMESPath expression filtering the JSON result before return. | |
| issue_iid | Yes | The internal ID of a project's issue | |
| link_type | No | The type of the relation, defaults to relates_to | |
| project_id | Yes | Project ID or URL-encoded path | |
| target_issue_iid | Yes | The internal ID of a target project's issue | |
| target_project_id | Yes | The ID or URL-encoded path of a target project |