Skip to content
safran

Type to search. Enter opens the first result.

    Work tools

    Six tools show work the way a tracker shows it: list_boards and get_board for boards and their columns, list_iterations and get_iteration for sprints, cycles and milestones, list_tickets for a slice of tickets as a table, and get_my_work for what is on one person's plate. All six are read-only; nothing here moves a card or changes a ticket.

    Their answers come from a short-lived cache in memory, so every result carries freshness. A rate-limited tracker is not asked again before the time it named: the previous answer is returned with stale: true and retry_after. Rows are bounded twice, by a count (limit, per_column) and by a character budget over the whole result (workRowsChars of the output budgets); what a budget held back is named in a → line with the call that returns it.

    A tracker offers these tools only as far as its connector can: one without boards is listed in unsupported, one that cannot list iterations answers UNSUPPORTED. The dashboard shows the same data as screens.

    list_boards

    Lists the boards of the configured trackers, pinned ones first: each with the ref the other work tools take, its kind (scrum, kanban, other), the projects it shows and whether the profile pins it. An agent calls it to answer "which boards do we have" and to find a board before get_board, list_iterations or get_iteration.

    Input

    ParameterTypeRequiredNotes
    trackerstringnoOnly this tracker: an id from get_company_profile. Default: every tracker that has boards.
    projectstringnoOnly boards that show this project or team key, for example PAY.
    textstringnoOnly boards whose name contains this text, compared without case.
    kindsarray of stringsnoOnly boards of these kinds: scrum (planned in iterations), kanban (continuous flow), other. Default: all.
    limitintegernoBoards per page, 1 to 100. Default 50.
    cursorstringnonext_cursor of the previous call with the same arguments, unchanged. Omit for the first page.
    refreshbooleannotrue reads the tracker now instead of the answer kept in memory. Only when the user asks for current data, or the result said freshness.stale and that matters. Default false.

    Output

    FieldTypeContent
    boardsarrayOne entry per board: ref, name, kind, projects, team, pinned, and estimate when the board says how it sizes work.
    next_cursorstring or nullPass it back as cursor for the next page.
    unsupportedarrayTrackers that have no boards, each with the reason.
    warningsarrayTrackers that failed or could not apply a filter; the result does not cover them.
    freshnessobjectHow old the answer is: fetched_at, age_ms, stale, refreshing, retry_after (set while the source is rate-limited) and refresh_error.
    hintsarray of strings, optionalThe → lines of the text result, word for word, when it has any. Safran's own sentences, never third-party text.

    get_board

    Shows one board the way the team sees it: its columns left to right with the count, estimate sum and work-in-progress limit of each, the first cards of every column, and the tickets no column shows (unmapped). A scrum board shows its active iteration unless iteration says otherwise. Counts cover the tickets read: with truncated they are lower bounds. blocked on a card is the tracker's own flag; whether a link blocks a ticket is get_linked_work.

    Input

    ParameterTypeRequiredNotes
    boardstringyesThe board, as list_boards returned it in ref (<tracker_id>:<board_id>), unchanged.
    iterationstringnoAn iteration ref from list_iterations, active (the running one) or backlog (on the board, in no iteration). Default: active on a scrum board, everything on the others.
    assigneestringnoOnly cards of this person: a name as the tracker shows it, or me.
    typesarray of stringsnoOnly these ticket types. A ticket matches when it has any of them.
    labelsarray of stringsnoOnly tickets with one of these labels.
    epicstringnoOnly the children of this epic or parent ticket, by key.
    textstringnoOnly cards whose title contains these words. Use the ticket language.
    include_ticketsbooleannofalse returns the columns with their counts and limits only, without cards. Default true.
    per_columnintegernoCards per column, 1 to 30. Default 10. The whole result holds at most 60 cards, dealt evenly over the columns.
    refreshbooleannotrue reads the tracker now instead of the answer kept in memory. Only when the user asks for current data, or the result said freshness.stale and that matters. Default false.

    Output

    FieldTypeContent
    boardobjectThe board: ref, name, kind, projects, lanes, unmapped_statuses.
    columns_sourcestringboard (its own configuration), tracker (built from workflow states) or categories (three columns by status category).
    iterationsarrayThe iterations the view shows; empty for a board without iterations.
    columnsarrayPer column: its name and statuses, count, estimate, over_limit, under_limit, the first tickets and more.
    unmappedobjectTickets whose status no column shows: count, statuses, tickets, more. Counted and listed, never dropped.
    totalintegerTickets read.
    truncatedbooleanMore tickets than one board read allows: the counts are lower bounds.
    meobjectWho assignee: "me" meant, and on what basis. Present when me was used.
    warningsarrayTrackers that failed or could not apply a filter; the result does not cover them.
    freshnessobjectHow old the answer is: fetched_at, age_ms, stale, refreshing, retry_after (set while the source is rate-limited) and refresh_error.
    hintsarray of strings, optionalThe → lines of the text result, word for word, when it has any. Safran's own sentences, never third-party text.

    list_iterations

    Lists the iterations (sprints, cycles, milestones) of a board: the running one first, then the planned ones by start date, then the finished ones newest first. Give board; for a tracker whose iterations belong to a project instead of a board, give tracker and project. A tracker that cannot list iterations answers UNSUPPORTED.

    Input

    ParameterTypeRequiredNotes
    boardstringnoThe board, as list_boards returned it in ref.
    trackerstringnoWith project, instead of board: the tracker that holds the project.
    projectstringnoWith tracker, instead of board: the project or team key whose iterations to list.
    statesarray of stringsnoOnly iterations in these states: active, future, closed. Default: all three.
    limitintegernoIterations per page, 1 to 50. Default 10.
    cursorstringnonext_cursor of the previous call with the same arguments, unchanged. Omit for the first page.
    refreshbooleannotrue reads the tracker now instead of the answer kept in memory. Only when the user asks for current data, or the result said freshness.stale and that matters. Default false.

    Output

    FieldTypeContent
    iterationsarrayPer iteration: ref, name, state, starts_at, ends_at, completed_at, goal, board.
    next_cursorstring or nullPass it back as cursor for the next page.
    freshnessobjectHow old the answer is: fetched_at, age_ms, stale, refreshing, retry_after (set while the source is rate-limited) and refresh_error.
    hintsarray of strings, optionalThe → lines of the text result, word for word, when it has any. Safran's own sentences, never third-party text.

    get_iteration

    How one iteration is going and what is in it: working days elapsed and left, progress by status category in ticket counts and in estimate, the count per board column, the load per assignee, the tickets flagged blocked, the stale ones, scope added after the start, and the ticket rows. Every figure is computed from the tickets in the iteration now. No history is read, so scope knows only tickets created after the start and reports the rest as undetermined.

    Input

    ParameterTypeRequiredNotes
    iterationstringnoA ref from list_iterations, or active together with board for the one running now.
    boardstringnoWith iteration: "active" (or alone): the board whose running iteration to show.
    include_ticketsbooleannofalse returns the digest without the ticket rows. Default true.
    limitintegernoTicket rows returned, 1 to 100. Default 50. The digest always covers every ticket read.
    refreshbooleannotrue reads the tracker now instead of the answer kept in memory. Only when the user asks for current data, or the result said freshness.stale and that matters. Default false.

    Output

    FieldTypeContent
    iterationobjectThe iteration: ref, name, state, dates, goal.
    boardobject or nullThe board it belongs to: ref and name.
    daysobjectWorking days: total, elapsed, left, overdue.
    progressobjecttickets by status category, estimate when the rows carry one, unestimated, and basis (estimate or count).
    by_columnarray or nullPer board column: count, estimate, over_limit. null when the board has no columns to offer.
    unmappedintegerTickets whose status no column shows.
    loadarrayPer assignee: ticket counts, remaining estimate, unestimated, blocked. The unassigned row is last.
    blockedarrayTickets the tracker flags as blocked.
    stalearrayIn progress and not updated for work.stale_after_days working days, each with working_days.
    stale_unknownintegerIn-progress tickets without an update time: not judged, and not counted as fresh.
    scopeobjectadded (created after the start), committed, undetermined, and removed_detectable, which is always false.
    tickets_totalintegerTickets in the iteration, also when tickets is cut at limit.
    truncatedbooleanMore tickets than one read allows: every figure is a lower bound.
    unsupportedarray of stringsWhat this tracker cannot give, for example estimates or board-columns.
    ticketsarrayThe ticket rows, in board order. Absent with include_tickets: false.
    freshnessobjectHow old the answer is: fetched_at, age_ms, stale, refreshing, retry_after (set while the source is rate-limited) and refresh_error.
    hintsarray of strings, optionalThe → lines of the text result, word for word, when it has any. Safran's own sentences, never third-party text.

    list_tickets

    A filtered, sorted slice of work as a table: tickets by project, status, type, label, assignee, epic, iteration, board column or date, each row with status, assignee, estimate, priority, labels, parent and iteration, so no get_ticket per row is needed. Without any filter it lists the open work of every project, newest update first. search_tickets stays the tool for finding a ticket by words; this one shows a slice.

    Input

    ParameterTypeRequiredNotes
    textstringnoWords to look for in ticket titles (and descriptions where the tracker can). Use the ticket language.
    projectsarray of stringsnoOnly these tracker project keys. Not with board.
    status_categoriesarray of stringsnoOnly these workflow stages: any of todo, in_progress, done.
    statusesarray of stringsnoOnly tickets in these exact statuses, as the tracker names them.
    typesarray of stringsnoOnly these ticket types.
    labelsarray of stringsnoOnly tickets with one of these labels.
    assigneestringnoOnly tickets of this person: a name as the tracker shows it, or me (the result's me says who that was).
    unassignedbooleannotrue lists only tickets nobody has. Not together with assignee.
    epicstringnoOnly the children of this epic or parent ticket, by key.
    iterationstringnoOnly tickets in this iteration: a ref from list_iterations. With board also active or backlog.
    boardstringnoOnly the tickets this board shows, in board order: a ref from list_boards. Allows column.
    columnstringnoWith board: only the cards of this column, by the column's id as get_board returned it.
    updated_sincestringnoOnly tickets updated on or after this ISO date.
    created_sincestringnoOnly tickets created on or after this ISO date.
    trackerstringnoOnly this tracker. A filter it cannot apply is then an error, not a warning.
    sortupdated, created, priority, rank or keynorank is the board's own order and needs board. Default: the tracker's order; newest update first when no filter is given.
    directionasc or descnoWith sort. Default: newest first for dates, most urgent or first-ranked first otherwise.
    limitintegernoTickets per page, 1 to 100. Default 30.
    cursorstringnonext_cursor of the previous call with the same arguments, unchanged. Omit for the first page.
    refreshbooleannotrue reads the tracker now instead of the answer kept in memory. Only when the user asks for current data, or the result said freshness.stale and that matters. Default false.

    Output

    FieldTypeContent
    ticketsarrayThe rows: key, title, type, status and its category, assignee, priority, estimate, labels, parent, iteration, blocked flag, dates.
    next_cursorstring or nullPass it back as cursor for the next page.
    sortedobject or nullby, direction and scope: tracker when the order holds across pages, page when only inside this page.
    meobjectWho assignee: "me" meant, and on what basis. Present when me was used.
    warningsarrayTrackers that failed or could not apply a filter; the result does not cover them.
    freshnessobjectHow old the answer is: fetched_at, age_ms, stale, refreshing, retry_after (set while the source is rate-limited) and refresh_error.
    hintsarray of strings, optionalThe → lines of the text result, word for word, when it has any. Safran's own sentences, never third-party text.

    get_my_work

    What is on one person's plate, in one call: the open tickets assigned to them, the pull requests waiting on their review and their own open ones, their blocked tickets, what changed since the last working day, and the digest of the running iteration. "Me" is, in order: as, the profile's me, the owner of the tracker's token; me.basis says which. With basis none the sections cover everyone (scope: "everyone"). A section that failed is named in section_errors and the others are still returned.

    Input

    ParameterTypeRequiredNotes
    asstringnoLook at this person's work instead: a name as the tracker and the code host show it.
    teamstringnoOnly the projects and repositories of this team: a name from get_company_profile.
    limitintegernoRows per section, 1 to 50. Default 15. A section never holds more than 25.
    refreshbooleannotrue reads the tracker now instead of the answer kept in memory. Only when the user asks for current data, or the result said freshness.stale and that matters. Default false.

    Output

    FieldTypeContent
    meobjectWho "me" resolved to: name, basis (request, profile, tracker, none), and the name per tracker and code host.
    scopestringme, or everyone when nobody resolved.
    assignedobjectOpen tickets: in progress first, then by priority, then newest update.
    reviewsobjectwaiting (pull requests waiting on this person's review) and authored (their own open ones).
    blockedobjectTickets the tracker flags as blocked among the assigned ones.
    recentobjectTickets updated since the start of the last working day (since).
    iterationobject or nullThe digest of the running iteration of the first pinned board that has one, without ticket rows.
    section_errorsarrayThe sections that failed, each with the error. Absent when none did.
    warningsarrayTrackers that failed or could not apply a filter; the result does not cover them.
    freshnessobjectHow old the answer is: fetched_at, age_ms, stale, refreshing, retry_after (set while the source is rate-limited) and refresh_error.
    hintsarray of strings, optionalThe → lines of the text result, word for word, when it has any. Safran's own sentences, never third-party text.