Get Velocity
asana_get_velocityCompute delivery velocity for a person or project, returning a commitment range based on median and MAD, excluding bulk-close periods and using task-count when point coverage is below 50%.
Instructions
Compute delivery velocity for a person or project over recent periods. Reports median and MAD (not mean and stddev — small samples make stddev unstable), detects bulk-close periods and excludes them, and reports what fraction of completed tasks actually had story points. When points coverage is below 50% the point velocity is SUPPRESSED and task-count velocity is returned instead, because low-coverage point velocity looks authoritative while measuring an arbitrary subset. Always returns a commitment RANGE, never a single number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Whether to measure a person's throughput (`user`) or a project's (`project`). | |
| periods | No | How many past periods to analyze (2–24, default 6). | |
| scope_id | Yes | Who or what to measure: a user GID/email/name/`'me'` when scope is `user`, or a project GID/name/URL when scope is `project`. | |
| workspace | No | Workspace GID. Can be omitted if ASANA_DEFAULT_WORKSPACE_GID is set. | |
| period_days | No | Length of each period in days. Defaults to ASANA_SPRINT_LENGTH_DAYS (currently 14). | |
| exclude_dates | No | Comma-separated YYYY-MM-DD dates to exclude (holidays, company shutdowns). Completions on these dates are ignored. |