update_subtask
Update an existing Kanboard subtask by providing its ID and parent task ID. Modify only the fields you need, such as title, status, or assigned user, while preserving other values.
Instructions
Update an existing Kanboard subtask (partial update). Only the fields you pass are changed; omitted fields keep their current values, and validation runs before any write, so an invalid call modifies nothing. Both 'subtask_id' and 'task_id' are required as identity fields. At least one of title, status, user_id, time_estimated, or time_spent must also be provided. Status: 0 = todo, 1 = in progress, 2 = done. Returns { subtask_id, task_id } on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subtask_id | Yes | ID of the subtask to update (required). | |
| task_id | Yes | ID of the parent task (required). | |
| title | No | New subtask title (optional). | |
| status | No | New status: 0 = todo, 1 = in progress, 2 = done (optional). | |
| user_id | No | New assigned user id (optional). | |
| time_estimated | No | New estimated time in hours (optional). | |
| time_spent | No | New time spent in hours (optional). |