update_work_package
Update an existing work package with automatic validation of status transitions according to OpenProject workflow rules. Get clear errors when a status change is invalid.
Instructions
Update an existing work package. Automatically validates status transitions according to OpenProject workflow rules. If you try to set an invalid status (e.g., directly from "Новый" to "Выполнено"), it will return an error with available statuses. Use get_available_statuses to see valid transitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | No | The subject/title of the work package | |
| status_id | No | The ID of the status. Must be a valid status transition according to OpenProject workflow. Use get_available_statuses to see which statuses can be set from the current status. | |
| description | No | The description of the work package | |
| lock_version | Yes | The lock version (required for updates) | |
| work_package_id | Yes | The ID of the work package |