move_work_item_from_document
Detach a work item from its document, returning it to a free-floating state. The item is preserved and can be reattached to any document.
Instructions
Detach a work item from its document, returning it to free-floating state.
Inverse of move_work_item_to_document. moveFromDocument clears
module and removes the part — the ONLY detach path (PATCH on module
rejected). The work item is preserved and re-attachable.
NOT idempotent: on an already free-floating item returns HTTP 400
(RuntimeError). Headings CAN be detached (become free-floating with
space_id="" / outline_number="").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project containing the work item. | |
| work_item_id | Yes | Short ID of an EXISTING work item (e.g. 'MCPT-042'). | |
| dry_run | No | When True, return payload preview without calling Polarion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moved | Yes | ||
| dry_run | Yes | ||
| payload_preview | Yes |