jira_get_sprint_report
Generate sprint reports for retrospectives with issue counts, story points, bug metrics, and label tracking, plus comparison to previous sprint.
Instructions
Generate a sprint report for retrospectives. Returns issue counts and story points grouped by status categories, bug metrics, and label-specific tracking. Compares current sprint with previous sprint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sprintId | Yes | The current sprint ID | |
| projectKey | Yes | Project key (e.g., "PROJ") | |
| statusGroups | No | Custom status groupings. Keys are group names, values are arrays of status names. Can be set via JIRA_STATUS_GROUPS env var. Defaults: To Do, Blocked, In Progress, Design Review, To Test, Done. | |
| includeInflow | No | Include inflow metrics (issues pulled from backlog after sprint started). Requires changelog lookups. Default: false. | |
| includeTriage | No | Include triage metrics (issues created after sprint started). Default: false. | |
| blockedStatuses | No | Statuses considered "blocked" (e.g., ["Blocked", "Blocked on QA"]). Can be set via JIRA_BLOCKED_STATUSES env var. Default: ["Blocked", "Blocked on QA"]. | |
| labelsOfInterest | No | Labels to track separately (e.g., ["NZ", "TopTen"]). Returns complete/not complete counts for each. | |
| previousSprintId | No | The previous sprint ID for comparison (optional) | |
| storyPointsField | Yes | Custom field ID for story points (e.g., "customfield_10024"). Optional if JIRA_STORY_POINTS_FIELD env var is set. | |
| bugBacklogStatuses | No | Statuses to include when counting bugs in backlog (e.g., ["To Do"]). Can be set via JIRA_BUG_BACKLOG_STATUSES env var. Default: all bugs not in Done statuses. |