update_work_item_link
Update an existing work item link's suspect flag or revision pin. Specify the link by role and target, then set new values.
Instructions
Set suspect and/or revision on one existing outgoing link.
Identify the link via list_work_item_links(direction="forward") — role + target address one link; copy the role exactly as listed. None = unchanged; at least one of suspect / revision required. One link per call.
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": {
"project_id": "<project_id>",
"work_item_id": "<work_item_id>",
"role": "<role>",
"target_work_item_id": "<target_work_item_id>"
},
"name": "update_work_item_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role id of the existing link. | |
| dry_run | No | Preview payload without calling Polarion. | |
| suspect | No | New suspect flag; None = unchanged. | |
| revision | No | New revision pin; None = unchanged. | |
| project_id | Yes | Source work item's project ID. | |
| work_item_id | Yes | Source work item ID. | |
| target_project_id | No | Defaults to the source's project. | |
| target_work_item_id | Yes | Target work item ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | Yes | ||
| link_id | Yes | ||
| updated | Yes | ||
| payload_preview | Yes |