link_work_items
Create relationships between two Jira or Azure DevOps work items to define dependencies, hierarchy, duplicates, or related links.
Instructions
Create a relationship between two work items (blocks, is-blocked-by, relates-to, parent-child, duplicate, etc.).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"sourceId": "<sourceId>",
"targetId": "<targetId>",
"linkType": "<linkType>"
},
"name": "link_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional comment for the link | |
| linkType | Yes | Link type. Jira: "blocks", "is blocked by", "relates to", "duplicates", "is duplicated by", "clones", "is cloned by". ADO: "System.LinkTypes.Hierarchy-Forward", "System.LinkTypes.Related", "System.LinkTypes.Dependency-Forward". | |
| platform | Yes | The platform | |
| sourceId | Yes | The source work item ID | |
| targetId | Yes | The target work item ID |