# tkt ticket

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

## tkt ticket ac

### `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

`--at` `--over-budget`

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)

### `tkt ticket ac check <ticket_id> [selectors]...`

`PATCH /v1/tickets/{ticket_id} (the whole body)` · \[W\] write

Tick items

`--all`

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)

### `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

`--over-budget`

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)

### `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

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)

### `tkt ticket ac remove <ticket_id> <selectors>...`

`PATCH /v1/tickets/{ticket_id} (the whole body)` · \[W\] write

Delete items

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)

### `tkt ticket ac uncheck <ticket_id> [selectors]...`

`PATCH /v1/tickets/{ticket_id} (the whole body)` · \[W\] write

Untick items

`--all`

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)

## tkt ticket

### `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](/en/docs/guides/loop/claim.md#loop-claim)

### `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

[Guide: Parallel work](/en/docs/guides/team/worktrees.md#team-worktrees)

### `tkt ticket delete <ticket_id>`

`DELETE /v1/tickets/{ticket_id}` · \[W\] write

Hard-delete a ticket

[Guide: Changing a ticket](/en/docs/guides/loop/edit.md#loop-edit)

### `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](/en/docs/guides/loop/read.md#loop-read)

### `tkt ticket import <file>`

`POST /v1/tickets:import` · \[W\] write

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

`--dry-run`

[Guide: Tickets in bulk](/en/docs/guides/plan/import.md#plan-import)

### `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)

`--all` `--budget`

[Guide: Sizing and handing over](/en/docs/guides/loop/finish.md#loop-finish)

### `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](/en/docs/guides/loop/find.md#loop-find)

### `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](/en/docs/guides/loop/edit.md#loop-edit)

### `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](/en/docs/guides/loop/edit.md#loop-edit)

### `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

`--date`

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)

### `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](/en/docs/guides/loop/claim.md#loop-claim)

### `tkt ticket renumber <ticket_id> [new_id]`

\[W\] write

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

`--yes` `--dry-run`

[Guide: Git: merge drivers and after a merge](/en/docs/guides/team/git.md#maint-merge-damage)

### `tkt ticket resolve-conflict <path>`

\[L\] local

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

`--as` `--yes` `--dry-run`

[Guide: Git: merge drivers and after a merge](/en/docs/guides/team/git.md#maint-merge-damage)

### `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](/en/docs/guides/loop/find.md#loop-find)

### `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](/en/docs/guides/loop/edit.md#loop-edit)

## tkt ticket ref

### `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](/en/docs/concepts/refs.md#context-refs)

### `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](/en/docs/concepts/budget.md#context-exclude)

### `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](/en/docs/concepts/budget.md#context-exclude)

### `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

[Guide: Refs and mentions](/en/docs/concepts/refs.md#context-refs)

### `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

`--over-budget`

[Guide: Refs and mentions](/en/docs/concepts/refs.md#context-refs)

## tkt ticket section

### `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)

`--text` `--file`

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)

### `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)

`--text` `--file`

[Guide: Writing back while working](/en/docs/guides/loop/record.md#loop-record)
