create_issue_link
Create relationships between GitLab issues to track dependencies, blockers, and related work items across projects.
Instructions
Create an issue link between two issues
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or URL-encoded path | |
| issue_iid | Yes | The internal ID of a project's issue | |
| target_project_id | Yes | The ID or URL-encoded path of a target project | |
| target_issue_iid | Yes | The internal ID of a target project's issue | |
| link_type | No | The type of the relation, defaults to relates_to |
Input Schema (JSON Schema)
{
"properties": {
"issue_iid": {
"description": "The internal ID of a project's issue",
"type": "number"
},
"link_type": {
"description": "The type of the relation, defaults to relates_to",
"enum": [
"relates_to",
"blocks",
"is_blocked_by"
],
"type": "string"
},
"project_id": {
"description": "Project ID or URL-encoded path",
"type": "string"
},
"target_issue_iid": {
"description": "The internal ID of a target project's issue",
"type": "number"
},
"target_project_id": {
"description": "The ID or URL-encoded path of a target project",
"type": "string"
}
},
"required": [
"project_id",
"issue_iid",
"target_project_id",
"target_issue_iid"
],
"type": "object"
}