move_work_item_from_document
Detach a work item from its document, making it free-floating for independent management.
Instructions
Detach a work item from its document — the ONLY detach path.
NOT idempotent: an already free-floating item returns HTTP 400 — first confirm it is in a document (get_work_item: non-empty space_id) and skip the call when already detached. Item preserved, re-attachable via move_work_item_to_document. Headings detachable too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview payload without calling Polarion. | |
| project_id | Yes | Polarion project ID. | |
| work_item_id | Yes | Work item ID (e.g. 'MCPT-042'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moved | Yes | ||
| dry_run | Yes | ||
| payload_preview | Yes |