add_work_item_relation
Preview and create same-project work-item relations by specifying related items and relation type; set confirm=true after reviewing the direction to apply the change.
Instructions
Preview or create same-project work-item relations. Set confirm=true after reviewing the relation direction.
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": {
"work_item_id": "<work_item_id>",
"relation_type": "<relation_type>",
"related_work_item_ids": "<related_work_item_ids>"
},
"name": "add_work_item_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| project_id | No | ||
| work_item_id | Yes | ||
| relation_type | Yes | ||
| related_work_item_ids | Yes | ||
| confirm_project_identifier | No | Only to target a project other than the active one: the target project's identifier (for example WEB). The call is rejected unless it matches project_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||