Claiming and giving back
tkt ticket claim PAY-001 --assignee <you> claims a given ticket by the tkt next rule; tkt ticket release PAY-001 gives it back (in_progress → todo, assignee cleared), from any worktree.
On this page
Claimed in another worktree: ERR_ALREADY_CLAIMED (--force takes it over); not startable: ERR_NOT_STARTABLE, with one details[] entry per reason.
Details5 items
-
Assignee:
--assignee, elseAITODO_ASSIGNEE, else exit 2. Both errors are 409;ERR_ALREADY_CLAIMEDnames the assignee, branch and worktree. Your ownin_progressticket again: no change. -
tkt next --claimandtkt ticket update --status in_progressrecord a claim too; in git every worktree sees it (Parallel worktrees). -
Release resets the status only where it is
in_progress(elsewhere the output says it stays so on branch X). Someone else's claim, or no--assignee:ERR_ALREADY_CLAIMEDunless--force; claimed neither here nor elsewhere:ERR_STATUS_TRANSITION.done/canceleddrop the record,in_reviewkeeps it;tkt ticket release --staleclears stale ones. -
REST:
GET /v1/tickets:next,POST /v1/tickets:next{"assignee": "…"},POST /v1/tickets/{ticket_id}:release(Store API); REST reads no git claims, so usetkt nextin a worktree. -
tkt ticket claim --json:{ticket, claim, changed}.
Commands on this page#
tkt ticket claimClaim one ticket: todo → in_progress + assignee here, recorded for every worktree→
tkt ticket releaseGive a claimed ticket back, from any worktree: its claim record goes; in a store where it is in_progress it goes back to todo, assignee cleared→