The project focus
A milestone, an epic or a release the project works through now: tkt next stays inside it.
The project focus#
One package (a milestone, an epic or a release) the project works through now. tkt focus set golive sets it for everyone (.aitodo/config.yaml); tkt next stays inside it.
$ tkt focus set golive- Your own focus:
AITODO_FOCUSortkt next --focus X(flag > env > project);--allignores it. - The focus's tickets:
tkt focus --ticketsortkt ticket list --focus(a milestone: its tickets; an epic: its children). - The focus's tree:
tkt tree --focus(--watchreads the focus again on every redraw, so it followstkt focus set). - Nothing startable in it: it says why (
emptyReason) and never falls back to other tickets.
Details6 items
-
Loop:
tkt next --claim --assignee <you> --jsonuntil exit 1. -
Groups refused (
tkt next --group). Storedfocus: {kind, id}(a server-storewrite). -
Outside the focus (no member, no member waits on it): info
OUTSIDE_FOCUS, a claim warning, never a refusal. -
Without
tkt next --milestone,--group,--epicthe focus scopes (scope: {kind, id, source});--epic E: an epic's children.emptyReason: done, blocked, claimed, mixed;outsideBlockers. -
tkt focus [--json]: effective focus,done/total, next ticket, outside blockers;tkt focus clearremoves it. -
tkt focus --tickets --liveadds the live state in another worktree, and its--jsonrows the claim (claim: assignee, branch, worktree, age,here,stale).
A release as the focus#
The focus can be a release: tkt focus release nov (the same: tkt focus set release:nov; your own: AITODO_FOCUS=release:nov or tkt next --focus release:nov). Its members are every ticket the release reaches: its milestones' tickets, everything under its epics, and its direct members. A ticket that ships with it gets no OUTSIDE_FOCUS. tkt next, tkt focus --tickets and tkt tree --focus work from them; a shipped release is a complete focus.
$ tkt focus release novDetails1 items
- The
release:prefix is needed: a release id looks like a milestone id, sotkt focus set novlooks for a milestone or an epic (the refusal namestkt focus release nov). Storedfocus: {kind: release, id}. REST:PATCH /v1/workspace/config{"focus": "release:nov"};GET /v1/tickets:nextfollows it.
Commands on this page#
tkt focusThe milestone, epic or release the project works through now: tkt next stays inside it→
tkt focus setSet the project focus: a milestone or an epic (not a group: use tkt next --group). tkt next then stays inside it for everyone; AITODO_FOCUS overrides it for one caller→
tkt focus clearRemove the project focus: tkt next ranks the whole store again→
tkt focus releaseSet the project focus to a release: every ticket its milestones, epics and direct members reach→