aitododocs Coming soonAutonomous delivery

tkt ticket

Markdown

The 28 commands of tkt ticket, generated from the running code.

Referenceabout 7 min
On this page
[L]local[R]read[W]write[A]admin write· the grey tag is the REST counterpart
Every option is described by tkt <command> --help. The full machine-readable form: /openapi.json and tkt meta --json.

tkt ticket ac

6 commands
tkt ticket ac add <ticket_id> <text>PATCH /v1/tickets/{ticket_id} (the whole body)[W] write

Add an unchecked item; a missing AC section is created

tkt ticket ac check <ticket_id> [selectors]...PATCH /v1/tickets/{ticket_id} (the whole body)[W] write
tkt ticket ac edit <ticket_id> <selector> <text>PATCH /v1/tickets/{ticket_id} (the whole body)[W] write

Rewrite one item's text; its checkbox state and position are kept

tkt ticket ac list <ticket_id>GET /v1/tickets/{ticket_id} (in the body)[R] read

List the Acceptance Criteria with their 1-based indices and done/total

tkt ticket ac remove <ticket_id> <selectors>...PATCH /v1/tickets/{ticket_id} (the whole body)[W] write
tkt ticket ac uncheck <ticket_id> [selectors]...PATCH /v1/tickets/{ticket_id} (the whole body)[W] write

tkt ticket

15 commands
tkt ticket claim <ticket_id>POST /v1/projects/{project_id}/claims/{ulid}[W] write

Claim one ticket: todo → in_progress + assignee here, recorded for every worktree

--assignee--force--renew
Guide: Claiming and giving back
tkt ticket claims GET /v1/projects/{project_id}/claims[R] read

List the claims: assignee, branch, worktree and age; stale when the worktree is gone

tkt ticket delete <ticket_id>DELETE /v1/tickets/{ticket_id}[W] write

Hard-delete a ticket

tkt ticket get <ticket_id>GET /v1/tickets/{ticket_id}[R] read

Show a ticket with its Context Bundle (hints included)

--raw--brief--summary--llm/--no-llm--llm-cmd--llm-provider--refresh--worktree-dir--all--budget
Guide: Reading a ticket
tkt ticket import <file>POST /v1/tickets:import[W] write

Create many tickets from one plan; dependencies reference each other by key

tkt ticket lint <ticket_id>GET /v1/tickets/{ticket_id} (the bundle's hints)[R] read

Run the context guard; exit code = max hint severity (0=ok, 1=info, 2=warn, 3=block), 4 = could not run (unknown ticket, unparseable file, no workspace)

tkt ticket list GET /v1/tickets[R] read

List tickets, filtered by status, type, group, label, milestone, value or release; text search is tkt search

--focus--status--type--priority--group--label--assignee--milestone--value--min-value--release--release-since--unshipped--lifecycle--blocked--sort--page-size--page-token--live
Guide: Finding and overviews
tkt ticket move <ticket_id>POST /v1/tickets/{ticket_id}:move[W] write

Move a ticket to another primary group: its id changes, every reference follows

--group--yes--dry-run
Guide: Changing a ticket
tkt ticket new <title>POST /v1/tickets[W] write

Create a new ticket

--group--status--type--priority--assignee--body--details--ac--id--blocked-by--parent--relates-to--label--value--value-rationale--estimate--release--over-budget--description
Guide: Changing a ticket
tkt ticket note <ticket_id> <text>PATCH /v1/tickets/{ticket_id} (the whole body)[W] write

Append a dated - YYYY-MM-DD: text entry to the ticket's ## Notes section

tkt ticket release [ticket_id]POST /v1/tickets/{ticket_id}:release[W] write

Give 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

--assignee--force--stale
Guide: Claiming and giving back

Give a ticket a new id in its own group; every reference follows (any status)

Split a ticket file git merge left with conflict markers into its two creations

tkt ticket tree [target]GET /v1/tickets/{ticket_id}/graph[R] read

Show the ticket hierarchy as a tree, with per-epic status roll-up

--all--depth--max-nodes--status--type--priority--label--assignee--exclude-status--exclude-type--exclude-priority--exclude-label--open--blocked--min-value--milestone--release--focus--live--watch
Guide: Finding and overviews
tkt ticket update <ticket_id>PATCH /v1/tickets/{ticket_id}[W] write

Partial-update a ticket (merge-patch)

--title--status--type--priority--assignee--body--blocked-by--add-blocked-by--remove-blocked-by--parent--no-parent--relates-to--add-relates-to--remove-relates-to--add-group--remove-group--add-label--remove-label--reason--superseded-by--value--value-rationale--clear-value--estimate--clear-estimate--release--clear-release--description--force--over-budget
Guide: Changing a ticket

tkt ticket ref

5 commands
tkt ticket ref add <ticket_id> <ref>PATCH /v1/tickets/{ticket_id} (the whole contextRefs list)[W] write

Add a ref, or update it in place if the ticket already has it (no duplicates)

--kind--location--note--summary--anchor--line-range--stale-after-days--verified-at--source-rev--inline/--no-inline--over-budget
Guide: Refs and mentions
tkt ticket ref exclude <ticket_id> <ref>PATCH /v1/tickets/{ticket_id} (the whole excludedRefs list)[W] write

Leave an inherited ref out of this ticket's bundle

--anchor--note--over-budget
Guide: The bundle budget
tkt ticket ref include <ticket_id> <ref>PATCH /v1/tickets/{ticket_id} (the whole excludedRefs list)[W] write

Undo tkt ticket ref exclude: the bundle delivers the inherited ref again

--anchor--over-budget
Guide: The bundle budget
tkt ticket ref list <ticket_id>GET /v1/tickets/{ticket_id}/context-references[R] read

List the ticket's contextRefs, then the inherited refs it excludes

tkt ticket ref remove <ticket_id> <ref>PATCH /v1/tickets/{ticket_id} (the whole contextRefs list)[W] write

Remove a ref (every occurrence) from the ticket's contextRefs

tkt ticket section

2 commands
tkt ticket section append <ticket_id> <heading>PATCH /v1/tickets/{ticket_id} (the whole body)[W] write

Append content after the section's last line (no blank line inserted)

tkt ticket section set <ticket_id> <heading>PATCH /v1/tickets/{ticket_id} (the whole body)[W] write

Replace a section's content (heading kept; empty content clears it)

Generated from the Click tree, COMMAND_CLASSES and REST_COUNTERPARTSv0.1.298