Get Task History
asana_get_task_historyReconstruct a task's full lifecycle from its Asana activity stream to uncover why it's late, where it got stuck, and who changed it. Returns timeline, section dwell times, reschedule history, and risk signals.
Instructions
Reconstruct a task's full lifecycle from its Asana activity stream. Returns the chronological event timeline (assignments, section moves, reschedules, completions, custom-field changes, comments), how long the task spent in each section, cycle/lead time, reschedule history with slip days, ownership churn, and triggered risk signals (stalled, chronic slip, ownership churn, review-bound). Use this to answer 'why is this task late?', 'where did it get stuck?' or 'who has touched it?'. Accepts a task GID, an Asana task URL, or a task name. Costs 2–3 API requests (more for very long activity streams).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The task to analyze. Accepts a GID (`'19234567890123'`), any Asana task URL (`'https://app.asana.com/0/12345/67890'`), or a task name to resolve via typeahead (e.g. `'Fix login bug'`). Names that match several tasks return a disambiguation list instead of an error. | |
| project | No | Optional project GID, URL, or name. Only useful for tasks that live in multiple projects: it selects which project's section the task is considered to currently sit in, which changes the section timeline. Ignored when the task belongs to a single project. | |
| include_subtasks | No | When true, also return a compact list of the task's subtasks (gid, name, completed, assignee, permalink). Full lifecycles are NOT computed per subtask because that would cost one extra request each. Defaults to false. |