add_work_item_relation
Create relationships between work items by linking a source item to one or more targets using types like Parent, Child, Related, Predecessor, Successor, or Duplicate.
Instructions
Add a relationship between work items
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": {
"id": "<id>",
"relation_type": "<relation_type>"
},
"name": "add_work_item_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Source work item ID | |
| target_id | No | Target work item ID(s) (optional if target_url is provided) | |
| target_url | No | URL to target work item (optional if target_id is provided) | |
| organization | No | Organization name or URL (optional, uses current org if not specified) | |
| relation_type | Yes | Relation type (e.g., "Parent", "Child", "Related", "Predecessor", "Successor", "Duplicate") |