Projects
update-deadline-tool
Update any editable field on a deadline. Use update-deadline-status-tool for status-only changes.
Updates the whitelisted fields below on a deadline. The model keeps status and is_finished in sync — moving to finished flips is_finished to true, and moving away from finished flips it back. Reassigning to another user requires kanban::manage_for_others.
See also:
update-deadline-status-toolwhen you only need to change the kanban column.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | Deadline id. |
deadline | string (Y-m-d) | no | Due date. |
minutes | integer | no | Estimated effort in minutes, ≥0. |
description | string | no | Short description (max 255). |
comment | string | null | no | Longer comment, or null to clear. |
user_id | integer | null | no | Assignee user id, or null to unassign. |
team_id | integer | null | no | Team id, or null to clear. |
status | string | no | One of on-hold, new, active, internal-test, external-test, finished. |
is_finished | boolean | no | Auto-synced with status. |
is_billable | boolean | no | Billable flag. |
Permissions
- Updating your own deadline:
kanban::manage_selforkanban::manage_for_others. - Updating someone else's deadline:
kanban::manage_for_others. - Reassigning a deadline to another user (or unassigning it):
kanban::manage_for_others, even when the caller already passes the policy gate.
Example
{
"id": 21,
"deadline": "2026-06-08",
"minutes": 600
}Response
The updated deadline, in the same shape as a row from list-deadlines-tool.
Errors
- An invalid
statusvalue returns a validation error. - A non-existent
id,user_idorteam_idreturns an error. - Updating a deadline you don't own without
kanban::manage_for_othersreturns an authorization error. - Reassigning to another user without
kanban::manage_for_othersreturns an authorization error.