Daily use

Timelines

The 4 tools for timelines. Before an agent first makes one, it reads guide topic timelines.

create_timeline

Make a timeline or roadmap in a space: phases holding tasks and milestones on dates, with owners, status, progress and dependencies (what waits on what). People see a Gantt chart and a list by date; they drag bars to new dates, set progress, draw dependencies and comment on an entry. Give phases, then their tasks and milestones (phase = the phase id), then dependencies. Dates as YYYY-MM-DD, only real ones. Read guide topic "timelines" first; check it with render_timeline.

Parameters

space_idstringrequired
titlestringrequired
subtitlestring
One line: what it plans and how sure the dates are.
entriesobject[]required
Show child attributes
idstring
Short and stable: lowercase letters, digits, _ and - ("design", "beta-launch"). Made from the title when left out.
titlestringrequired
What gets done: "Write launch post", "Beta opens".
kindstring
phase (a group; without dates it spans its entries), task (start to end, default), milestone (one day). One of phase, task, milestone.
startstring
YYYY-MM-DD; a milestone is on this day. Required but for a phase, which without dates spans its entries.
endstring
YYYY-MM-DD, the last day (included). Tasks: default the start day.
phasestring
The phase it belongs to, by id.
progressnumber
Tasks and phases: how far along, 0–100.
statusstring
One of planned, active, done, at_risk, blocked.
ownerstring
Who does it: "Ana", "Design team".
notestring
One line of context.
urlstring
Its ticket or doc.
dependenciesobject[]
Show child attributes
fromstringrequired
The entry that must finish first.
tostringrequired
The entry that waits on it.

read_timeline

A timeline as it is now, people's edits included: its entries in order with ids (what update_timeline and comment take), kinds, dates (a phase with auto: true spans its entries), phase, progress, status, owner, note, url, and the dependencies, plus checks.

Parameters

item_idstringrequired

update_timeline

Change a timeline. Any of: title, subtitle; add_entries (after the others); change_entries (by id: the fields you give replace those fields, "" clears one — status, progress, owner, note, phase, dates); shift_entries (move an entry by a number of days, with everything that waits on it when with_dependents — "Build slips a week"); remove_entries (ids; a phase's entries stay, outside any phase; their dependencies go); order_entries (every id, in the new order); add_dependencies; remove_dependencies. Applied in that order, all or nothing; read_timeline first for the ids — people may have changed it.

Parameters

item_idstringrequired
titlestring
subtitlestring
add_entriesobject[]
Show child attributes
idstring
Short and stable: lowercase letters, digits, _ and - ("design", "beta-launch"). Made from the title when left out.
titlestringrequired
What gets done: "Write launch post", "Beta opens".
kindstring
phase (a group; without dates it spans its entries), task (start to end, default), milestone (one day). One of phase, task, milestone.
startstring
YYYY-MM-DD; a milestone is on this day. Required but for a phase, which without dates spans its entries.
endstring
YYYY-MM-DD, the last day (included). Tasks: default the start day.
phasestring
The phase it belongs to, by id.
progressnumber
Tasks and phases: how far along, 0–100.
statusstring
One of planned, active, done, at_risk, blocked.
ownerstring
Who does it: "Ana", "Design team".
notestring
One line of context.
urlstring
Its ticket or doc.
change_entriesobject[]
Show child attributes
idstringrequired
The entry to change, by id.
titlestring
kindstring
One of phase, task, milestone.
startstring
YYYY-MM-DD; a milestone is on this day. Required but for a phase, which without dates spans its entries.
endstring
YYYY-MM-DD, the last day (included). Tasks: default the start day.
phasestring
The phase it belongs to, by id.
progressnumber | ""
statusstring
One of planned, active, done, at_risk, blocked, ``.
ownerstring
Who does it: "Ana", "Design team".
notestring
One line of context.
urlstring
Its ticket or doc.
shift_entriesobject[]
Show child attributes
idstringrequired
daysintegerrequired
Days later (negative: earlier).
with_dependentsboolean
Also move every entry that waits on it, and what waits on those.
remove_entriesstring[]
order_entriesstring[]
add_dependenciesobject[]
Show child attributes
fromstringrequired
The entry that must finish first.
tostringrequired
The entry that waits on it.
remove_dependenciesobject[]
Show child attributes
fromstringrequired
The entry that must finish first.
tostringrequired
The entry that waits on it.

render_timeline

See a timeline as people do: a screenshot of the Gantt chart (view chart) or of the list by date (view list), plus checks — dependencies whose dates overlap, entries past their end and not done, entries outside any phase, empty phases, tasks without owners — and errors the page hit.

Parameters

item_idstringrequired
viewstring
Default chart. One of chart, list.