create_issue_link
Link two GitLab issues together using their project and issue IDs. Define whether one relates to, blocks, or is blocked by the other to reflect dependencies in remote GitLab.
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 |
|---|---|---|---|
| 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 |