create_subtask
Creates a subtask under an existing work package, previewing changes first and applying them only after confirmation.
Instructions
Create a subtask under an existing work package.
The tool validates the payload first. Concurrent calls to this tool (or create_work_package) do not preserve call order in the resulting IDs; use bulk_create_work_packages when order across several new items matters. target_versions accepts a list of version names/ids to assign multiple target versions at once (OpenProject's multi-version feature). target_versions and version write the same underlying data and cannot be used together in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| subject | Yes | ||
| version | No | ||
| assignee | No | ||
| category | No | ||
| due_date | No | ||
| priority | No | ||
| start_date | No | ||
| description | No | ||
| responsible | No | ||
| custom_fields | No | ||
| project_phase | No | ||
| target_versions | No | ||
| parent_work_package_id | Yes | Work package id (e.g. 952) or display id (e.g. "PROJ-51"), not the bare number 51. |