sprint_health
Check if your sprint is on track by analyzing completion rates, deadlines, and assignment health to get a verdict: on-track, at-risk, or off-track.
Instructions
Report whether a sprint is on track, in one call.
Composes project.task records for the sprint into completion %, deadline buckets (overdue / due today / upcoming / no deadline), assignment health, a per-stage and per-assignee breakdown, and a rule-based verdict.
Args: sprint_id: The project.task sprint_id to report on. project: Optional project-name filter (ilike). exclude_stages: Stage names dropped from sprint scope. Default ["Cancelled"]. done_stages: Stage names counted as completed. Default ["Done", "Delivered"]. lookahead_days: Days ahead that count as "upcoming" (default 7). timezone_offset: UTC offset for "today" (default 7 = Asia/Ho_Chi_Minh). subtasks_only: Count only subtasks (parent_id != False), the team's unit of work. Default True.
Note: sprint_id is a custom field, not standard Odoo; the tool degrades with a clear error when absent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| sprint_id | Yes | ||
| done_stages | No | ||
| subtasks_only | No | ||
| exclude_stages | No | ||
| lookahead_days | No | ||
| timezone_offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |