polarion_link_work_items
Create a directed traceability link between two Polarion Work Items by specifying source, target, and link role, with optional suspect flag and dry-run preview.
Instructions
Create a directed traceability link from one Work Item to another.
Args: source_work_item_id: The Work Item that owns the outgoing link. target_work_item_id: The Work Item being linked to. role: Link role id, e.g. 'verifies', 'implements', 'relates_to'. Role ids are project-configurable; an invalid role returns HTTP 422 with the allowed values. project_id: Project id. Inferred from the source id when omitted. suspect: Mark the link as suspect. dry_run: Build the request without sending it.
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": {
"source_work_item_id": "<source_work_item_id>",
"target_work_item_id": "<target_work_item_id>",
"role": "<role>"
},
"name": "polarion_link_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| dry_run | No | ||
| suspect | No | ||
| project_id | No | ||
| source_work_item_id | Yes | ||
| target_work_item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||