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-tool when you only need to change the kanban column.

Inputs

NameTypeRequiredDescription
idintegeryesDeadline id.
deadlinestring (Y-m-d)noDue date.
minutesintegernoEstimated effort in minutes, ≥0.
descriptionstringnoShort description (max 255).
commentstring | nullnoLonger comment, or null to clear.
user_idinteger | nullnoAssignee user id, or null to unassign.
team_idinteger | nullnoTeam id, or null to clear.
statusstringnoOne of on-hold, new, active, internal-test, external-test, finished.
is_finishedbooleannoAuto-synced with status.
is_billablebooleannoBillable flag.

Permissions

  • Updating your own deadline: kanban::manage_self or kanban::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 status value returns a validation error.
  • A non-existent id, user_id or team_id returns an error.
  • Updating a deadline you don't own without kanban::manage_for_others returns an authorization error.
  • Reassigning to another user without kanban::manage_for_others returns an authorization error.

On this page