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_idstringrequiredtitlestringrequiredsubtitlestringentriesobject[]requiredShow child attributes
idstringtitlestringrequiredkindstringphase, task, milestone.startstringendstringphasestringprogressnumberstatusstringplanned, active, done, at_risk, blocked.ownerstringnotestringurlstringdependenciesobject[]Show child attributes
fromstringrequiredtostringrequiredread_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_idstringrequiredupdate_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_idstringrequiredtitlestringsubtitlestringadd_entriesobject[]Show child attributes
idstringtitlestringrequiredkindstringphase, task, milestone.startstringendstringphasestringprogressnumberstatusstringplanned, active, done, at_risk, blocked.ownerstringnotestringurlstringchange_entriesobject[]Show child attributes
idstringrequiredtitlestringkindstringphase, task, milestone.startstringendstringphasestringprogressnumber | ""statusstringplanned, active, done, at_risk, blocked, ``.ownerstringnotestringurlstringshift_entriesobject[]Show child attributes
idstringrequireddaysintegerrequiredwith_dependentsbooleanremove_entriesstring[]order_entriesstring[]add_dependenciesobject[]Show child attributes
fromstringrequiredtostringrequiredremove_dependenciesobject[]Show child attributes
fromstringrequiredtostringrequiredrender_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_idstringrequiredviewstringchart, list.