move_work_item_from_document
Detach a work item from its document to free it for reattachment elsewhere. Verify attachment first to avoid errors.
Instructions
Detach a work item from its document — the ONLY detach path.
NOT idempotent: an already free-floating item fails — confirm attachment first (get_work_item: non-empty space_id). The item is preserved and re-attachable via move_work_item_to_document. Headings are 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 |