Skip to main content

ankra tickets

Work the organisation’s AI board from the terminal. The AI board is where Ankra’s agents track incidents, insights and requests as tickets. These commands list the board, show one ticket with its timeline, comment on it, move it through its lifecycle, and answer the decision a blocked ticket is waiting on: the same choice the ticket page renders as options plus “something else”. Tickets have structure. A symptom sits under the root ticket that carries its work (“ankra tickets nest”, “detach”), a sub-ticket under the ticket it was filed for (“create --parent”), and tickets link to each other with a relation such as duplicate_of or recurrence_of (“links”, “link”, “unlink”). “ankra tickets get” shows all of it, and “close --duplicate-of” closes a ticket as a duplicate and links it to the keeper in one step. A ticket is referenced by its number (8, T-8 or #8) or its UUID. A refused write prints the platform’s sentence and exits 2 when the request named the wrong thing (400, 422), 3 when the ticket is not in your organisation (404) and 1 when the tickets’ state refused it (409).

ankra tickets assign

Assign a ticket to an agent (--agent, the agent task’s id from ‘ankra ai tasks list’) or to an organisation member (--user, the member’s user id), never both. --unassign clears the assignee.
Examples
Flags

ankra tickets close

Close a ticket with a resolution: fixed, no_action, duplicate, wont_fix, escalated, unverifiable, cleared or expired. A close as fixed can name what confirmed the fix with --evidence-kind (probe, agent_run, automation_run, observation, link or human_attestation) and --evidence-reference; without them you are recorded as the evidence. --duplicate-of names the open ticket that covers the same cause, by number (42, T-42) or id, and implies --resolution duplicate. The platform links the closed ticket to that ticket’s canonical keeper and tells the keeper on its timeline; the CLI then reads the link back and names the keeper. When nothing was written, the platform says why: another resolution, a reference that is not a ticket, an unknown number, the ticket itself, another organisation’s ticket, a loop, or a keeper that is closed (exit 2). A ticket that cannot be closed from its current state is refused with exit 1.
Examples
Flags

ankra tickets comment

Post a comment on a ticket as yourself. A comment on a blocked ticket hands it back to its agent; to answer a choice the agent offered, use “ankra tickets decide” instead so the answer is recorded as the decision.
Flags

ankra tickets create

File a ticket on the AI board. --kind defaults to request and --priority to medium. With --parent the ticket is filed as a sub-ticket of an open ticket: it is worked like any ticket and counts toward its parent’s sub-tickets. A sub-ticket takes no --cluster or --staffing of its own. To put an existing ticket under a root whose work covers it, use “ankra tickets nest” instead: a symptom gets no agent run of its own.
Examples
Flags

ankra tickets decide

Answer the decision a blocked ticket is waiting on. Pick one of the options the agent offered with --option <key> (see “ankra tickets get”), or give the decision in your own words with --answer. Both together record the option with your note beside it. The answer lands on the timeline as a “Decision:” comment and the agent resumes from it.
Flags

ankra tickets detach

Make a symptom a top-level ticket again, with an event on its timeline and on its root’s. Its status and any question it carries stay as they are, and it is worked like any other ticket from then on. A ticket that sits under no root is left unchanged. A sub-ticket is refused: it belongs to its parent.
Examples
Flags

ankra tickets events

Show a ticket’s timeline, oldest first
Flags

ankra tickets get

Show one ticket. Besides its fields this shows where it sits: the ticket it is under and whether that ticket carries its work (a symptom) or it is a sub-ticket of it, the open symptoms and sub-tickets under it, every ticket directly under it with its role, and its links in both directions. A part that could not be read is said to be unread, never shown as empty, and the command then exits 1 after printing the rest. With -o json only the ticket is printed, with its structure fields: parent_ticket_id, parent_ticket_number, parent_ticket_title, parent_ticket_status, child_role (“symptom”, “subtask” or null), sub_ticket_count and open_sub_ticket_count (every child, symptoms included), live_symptom_count and symptoms_needing_person_count. Read the children with “ankra tickets list --parent <ticket> -o json” and the links with “ankra tickets links <ticket> -o json”.
Examples
Flags Link a ticket to another ticket (by number, T-42, or id) or, with --kind, to another record. The relation defaults to relates_to; the others are spawned, evidence, fix, duplicate_of and recurrence_of (an earlier ticket of the same recurring signal, tickets only). Linking what is already linked answers with the existing link. To close a ticket as a duplicate, use “ankra tickets close --duplicate-of”, which closes it and links it to the keeper in one step.
Examples
Flags List the links a ticket holds and the ticket links other tickets hold on it, each with the ticket at the other end: its number, title and status. The relation reads from the ticket you named: “Duplicate of T-42” is a link this ticket holds, “Duplicate of this ticket T-51” is one T-51 holds on it. Relations are spawned, evidence, fix, duplicate_of, relates_to and recurrence_of. The LINK column is the id “ankra tickets unlink” takes. With -o json the platform’s answer is printed as sent: {“links”: […], “incoming_links”: […]}, each entry with id, ticket_id (the ticket that holds the link), target_kind, target_id, relation, created_at, direction (“outgoing” or “incoming”) and linked_ticket (id, ticket_number, title, status and resolution of the ticket at the other end, or null for a target that is not a ticket of the organisation).
Examples
Flags

ankra tickets list

List the board’s tickets, newest first
Flags

ankra tickets nest

Move an existing ticket under a root ticket as a symptom. The root carries the work: the symptom gets no agent run or thread of its own, and it is settled or stands on its own again when the root closes. A ticket a person owes an answer on keeps its question. Naming a symptom as the root nests under that symptom’s own root. Nesting a ticket that is already a symptom of the root changes nothing. The platform refuses, with a sentence saying why, a root that is the ticket itself or does not exist (exit 2), and a closed ticket or root, a sub-ticket on either side, a ticket that has sub-tickets of its own, a loop, or held work (exit 1). A concurrent change is refused the same way: read the ticket again and retry.
Examples
Flags

ankra tickets plan

A ticket can carry a plan: what will be done about it, written before the work starts. ‘draft’ records a plan you wrote; ‘review’ approves the plan on the ticket or asks for changes. ‘ankra tickets get’ shows a ticket’s plan status.

ankra tickets plan draft

Record a plan on the ticket from a file, or from stdin with ‘--file -’. An open ticket only: a closed one answers not found.
Examples
Flags

ankra tickets plan review

Review the plan on the ticket: --verdict approve lets the work start, request_changes sends it back with your --rationale. --expected-updated-at takes the ticket’s updated_at as you read it (‘ankra tickets get -o json’); the platform then refuses the review (exit 1) if the ticket changed since.
Examples
Flags

ankra tickets settings

Configure the AI board

ankra tickets settings projects

Give a project its own Slack channel and Teams conversation for AI board threads. A ticket of a project with a channel of its own opens its board thread there, per provider; every other ticket, and a provider the project leaves unset, uses the organisation’s AI board channel. Changing these needs an organisation admin. Slack channel ids and Teams conversation ids are listed by ‘ankra alerts destinations channels’.

ankra tickets settings projects list

List the projects that have AI board channels of their own
Flags

ankra tickets settings projects remove

Drop every AI board channel a project binds, so its tickets open their threads in the organisation’s channels again. <project> is the project’s id, slug or name.
Flags

ankra tickets settings projects set

Bind or clear a project’s AI board channels. <project> is the project’s id, slug or name. Only the providers you pass change; --clear-slack and --clear-teams drop that provider’s channel so the project falls back to the organisation’s.
Flags

ankra tickets sync

Ticket sync mirrors the AI board outbound: each connection creates one issue per ticket in Jira or Linear, or posts signed events to a webhook, and relays the ticket’s timeline after. A connection filters what it syncs by kind and priority. Delivery is automatic and at least once; nothing flows back from the tracker, and tickets closed before a connection existed are not back-filled.

ankra tickets sync connections

Manage the connections that mirror tickets to Jira, Linear or a webhook

ankra tickets sync connections create

Create a connection that mirrors tickets to an external tracker. What it needs depends on --provider:
The secret is never taken as an argument. Pipe it on stdin with --secret-stdin, or run in a terminal to be asked for it with the input hidden. The platform stores it in its secret store and never returns it. Organisation admins only.
Examples
Flags

ankra tickets sync connections delete

Delete a connection and its stored credential. Tickets stop syncing to its tracker; issues already created there stay. Organisation admins only. It asks first; --yes skips the question and is required when there is no terminal to ask on.
Examples
Flags

ankra tickets sync connections get

Show one ticket sync connection, without its credential
Examples
Flags

ankra tickets sync connections list

List the organisation’s ticket sync connections. Stored credentials are never returned.
Examples
Flags

ankra tickets sync connections update

Change a connection: only what you pass changes. --rotate-secret reads a new credential from stdin (--secret-stdin) or a hidden prompt and replaces the stored one; for Jira it needs --email too. An update that changes the settings or rotates the credential also clears the connection’s failure state and retries delivery at once; one that only renames, switches or filters it does not. Organisation admins only.
Examples
Flags

ankra tickets sync destinations

List the Linear teams a tracker credential can file into, so a connection can target one. Only Linear has a destination list: a Jira connection names its project with --project-key and a webhook its --url. With --connection the saved connection’s stored credential is used; without it a credential is read from stdin (--secret-stdin) or a hidden prompt, used for this one lookup and not stored. Nothing is written. Organisation admins only.
Examples
Flags

ankra tickets transition

Move a ticket to another status
Flags Remove one link from a ticket, named by its link id (see “ankra tickets links”) or by the ticket at its other end. A link another ticket holds on this one is removed too: the CLI sends the removal to the ticket that holds it. When two tickets are linked more than once, name the one to remove with --relation. The removal is recorded on the ticket’s timeline.
Examples
Flags

ankra tickets workspace

Attach an AI workspace to a ticket, or detach the current one
Examples
Flags