create_work_package
Create a work package in OpenProject with payload validation and a preview mode that requires user approval before applying.
Instructions
Create a work package.
The tool validates the payload first.
assignee: 'me' or numeric user id (e.g., 42). Call list_users to find ids. parent: internal id (e.g., 952) or display_id (e.g., "PROJ-51"), not UI display number to nest the new work package under a parent.
estimated_time, remaining_time, duration accept ISO8601 duration strings (e.g., 'PT8H' for 8 hours, 'PT1H30M' for 1.5 hours, 'P1D' for 1 day, 'P2W' for 2 weeks).
target_versions accepts a list of version names/ids to assign multiple target versions at once
(OpenProject's multi-version feature); omit it, or pass [], to create with no target version
assigned. target_versions and version write the same underlying data and cannot be used together
in one call.
due_date falling on a non-working day (e.g. a weekend) can be silently moved forward to the
next working day by OpenProject; compare the request and the returned result.due_date if
the exact calendar date matters. This server does not expose a way to opt out of that shift
(OpenProject's own ignoreNonWorkingDays flag is not a write parameter here).
A rejected validation preview is not a tool error; inspect ready and
validation_errors in the result rather than the MCP error envelope.
If you issue multiple create_work_package/create_subtask calls concurrently, OpenProject assigns IDs in
server completion order, not call order; use bulk_create_work_packages instead when relative
ID/creation order across a batch matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| parent | No | ||
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| project | Yes | Project identifier, id, or name; a unique part of a name or identifier also matches. | |
| subject | Yes | ||
| version | No | ||
| assignee | No | ||
| category | No | ||
| due_date | No | ||
| duration | No | ||
| priority | No | ||
| start_date | No | ||
| description | No | ||
| responsible | No | ||
| custom_fields | No | ||
| project_phase | No | ||
| estimated_time | No | ||
| remaining_time | No | ||
| target_versions | No |