update_work_item_link
Update the suspect or revision of an existing outgoing work item link. At least one field must be set; other fields remain unchanged.
Instructions
Update suspect / revision on one existing outgoing work item link.
Identify the link via list_work_item_links(direction="forward") (role +
target address one link). suspect / revision tri-state: a value
updates, None leaves unchanged — at least one required (all-None
400s). One link per call (no bulk PATCH). A role typo 404s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Source work item's project ID. | |
| work_item_id | Yes | Source work item ID (the link's outgoing endpoint). | |
| role | Yes | Link role id of the existing link. | |
| target_work_item_id | Yes | Target work item ID (the link's incoming endpoint). | |
| target_project_id | No | Target's project; defaults to the source's project. | |
| suspect | No | New suspect flag value; None leaves it unchanged. | |
| revision | No | New revision pin; None leaves the existing pin unchanged. | |
| dry_run | No | When True, return payload preview without calling Polarion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updated | Yes | ||
| dry_run | Yes | ||
| link_id | Yes | ||
| payload_preview | Yes |