Releases
A release is a planned delivery: milestones, epics and tickets with a version and a date; shipping writes the version onto every finished ticket.
On this page
Planning releases#
A release is a planned delivery (releases/<id>.md, release://<id>): a date, a description, a candidate version and its members: milestones (milestone://golive), epics and tickets, mixed. A ticket outside the focus that ships next goes in too, so nobody has to remember it: tkt release add nov PAY-009. tkt release get nov shows the members and the tickets they reach (with the path: milestone://golive → PAY-001 → PAY-002) and done/total; tkt release list orders by date.
$ tkt release new nov --title November --version 0.2.0 --target-date 2026-11-30 --description "Card payments" -t milestone://golive,PAY-009
Rules: a milestone is in at most one release; a ticket is in at most one unshipped release, directly or through a milestone or an epic; two releases never share a version (v0.2 = 0.2.0), and a shipped version is never given again. A refusal (ERR_RELEASE_CONFLICT) names the release, the path and the command that fixes it.
Details8 items
-
The version is editable until the release ships:
tkt release edit nov --version 0.2.1(--no-versionclears it). Form:tkt config set releaseVersionPattern semver(X.Y.ZorX.Y.Z-rc.N); by default any version the ticketreleasefield takes. A bad version:ERR_SCHEMA_INVALID_VALUE, with the form. -
Status:
planned,active,canceled;shippedis set when the release ships, and from then on its version, status and members stay (ERR_FIELD_READ_ONLY). Acanceledrelease holds nothing; reactivating it runs every rule again. -
add/remove: all or nothing, as for milestones; an unknown member:ERR_REL_DANGLING. A deleted ticket, epic or milestone leaves the release; move and renumber rewrite it. Body: Goal, Exit Criteria, Decisions, Notes, Release Notes. -
The ticket
releasefield is the shipped stamp; set it by hand only to backfill work that already shipped. -
Context guard:
tkt lint release://nov(ticket exit codes;getshows them too), on a planned or active release only. Blocks:RELEASE_SHIP_OPEN(an open ticket, the ruleshipstops on),RELEASE_NO_VERSION. Warnings:RELEASE_VERSION_NOT_NEWER,RELEASE_VERSION_PATTERN,RELEASE_OVERDUE,RELEASE_MILESTONE_LATE(a member milestone due after the release),RELEASE_SCOPE_LEAK(a reached ticket waits on an open one outside; a cut decided under the release's Decisions is info). -
A ticket a planned release reaches gets the info hint
IN_RELEASEontkt ticket get, intkt nextand on a claim, besideOUTSIDE_FOCUS. -
tkt release new nov --title T --version 0.2.0 --target-date 2026-11-30 --goal "…" -t milestone://golive -t PAY-009 --description "…"(--status active,--owner);tkt release edit(--title,--status,--version/--no-version,--target-date/--no-target-date,--owner/--no-owner);tkt release delete nov --yes(members stay);tkt release list --status planned. -
--json:get: the release's fields,goal,exitCriteria,members[] {ref, kind, title, status, tickets},tickets[] {id, title, status, type, via},progress,missing,releaseNotes;list:{items: [{id, title, status, version, targetDate, shippedAt, progress, …}], untracked};add/remove:{release_id, added|removed, unchanged, members}. REST: Store API.
Shipping a release#
tkt release ship nov delivers a release: every done ticket it reaches (its direct tickets, its milestones' tickets and everything under an epic, at any depth) gets the version in its release field; the release becomes shipped with shippedAt (now, in UTC, or the day of --shipped-at) and its version is frozen. It prints the changelog (tkt report release <VERSION>).
$ tkt release ship nov --move-open-to dec
An open ticket (any status but done and canceled) stops it: ERR_RELEASE_OPEN names each one with its path (via epic PAY-001) and nothing is written. Finish them, or ship the rest: --move-open-to dec makes them direct members of another planned release, --drop-open leaves them out. A milestone stays in the shipped release; only its open tickets go. An open epic does not stop a ship; it is stamped once done.
Details6 items
-
No version: refused;
--version 0.2.1gives or changes it at ship time. -
A version not newer than the last shipped one warns; at a terminal
tktasks, with--json, over REST or without a terminal it is refused (ERR_RELEASE_CONFLICT) unless--allow-older(a hotfix line). -
A ticket that already carries a version keeps it (it shipped before). A
canceledticket is never stamped; adoneone under acanceledone is. -
A hand-set
tkt ticket update --releaseon a ticket of an unshipped release:ERR_RELEASE_PLANNED, naming the release andtkt release remove. Backfilling other tickets works. -
tkt release ship nov(--version,--shipped-at,--move-open-to,--drop-open,--allow-older). -
--json:{release, stamped, kept[] {id, release}, moved, movedTo, dropped, changelog, warnings}. REST: Store API.
Release timeline, done vs shipped#
tkt release list orders by date, not by version: first the shipped releases (shippedAt, newest first; a 1.4.1 hotfix can ship after 2.0.0), then the planned ones (targetDate). Last the untracked versions: ticket release values no release carries. They work as before (tkt report release), only without a date, so off the timeline; tkt doctor names them as the info UNTRACKED_RELEASE and never fails on them. Optionally: tkt release adopt 0.1.190 --shipped-at 2026-11-03, its members the tickets carrying the version.
$ tkt release adopt 0.1.190 --shipped-at 2026-11-03
There is no shipped ticket status: done = finished, the release stamp = out. tkt ticket list --status done --unshipped is the finished work not out yet, with its planned release; tkt tree and tkt board mark a shipped ticket ✓ 0.2.0.
Details5 items
-
adoptrefuses a version a release has (ERR_RELEASE_CONFLICT) and one no ticket carries (ERR_NOT_FOUND). Old values may predate thereleaseVersionPattern, so it takes any ticket version. -
--unshipped: tickets without areleasestamp; the planned release is the one that reaches them (through a milestone or an epic too). -
tkt release adopt <VERSION> --shipped-at YYYY-MM-DD(--id, defaultv0-1-190;--title;--description;--json). -
tkt release list --json:{items, untracked: [{version, tickets, done}]}. -
tkt ticket list --unshipped --json:plannedReleaseon every item.
Commands on this page#
tkt release newPlan a release with the five body sections (Goal, Exit Criteria, Decisions, Notes, Release Notes)→
tkt release getShow version, dates, goal, exit criteria, members (milestones, epics, tickets) and the tickets they reach, with progress done/total, the stored release notes and the release's context guard hints (as tkt lint release://<id>)→
tkt release listList releases on the timeline: shipped ones newest first, then planned ones by target date; then the untracked versions (ticket release values without a release)→
tkt release editChange title, description, status, version, target date or owner; the body and every other byte stay→
tkt release deleteDelete a release; its milestones, epics and tickets are not touched→
tkt release addAdd members→
tkt release removeRemove members; they themselves stay→
tkt release shipShip a release: every done ticket it reaches gets the version in its release field, the release becomes shipped and its version frozen→
tkt release adoptMake an untracked version a shipped release: its members are the tickets carrying it→