-
-
Project page: 0-100 sprint risk score with breakdown
-
Ranked risks with affected issues and next actions
-
Issue panel: why this issue is at risk
-
Rebalance proposal (read-only)
-
Same actions exposed as Atlassian MCP tools
-
Seeded demo sprint board
-
Rovo agent suggesting a rebalance
-
Rovo agent Sprint Risk Coach
Inspiration
Every team we've worked with has had the same sprint review: "We didn't see that coming." Except the signals were all in Jira. A ticket that sat in progress for a week, a story blocked by a task blocked by another team's backlog, a hotfix that slipped in mid-sprint while nothing came out. Scrum masters don't lack data, they lack time to add it up every morning. AI assistants can't do it reliably either: ask a chatbot "is our sprint at risk?" and you get a confident guess from a handful of issues. We wanted something deterministic, explainable, and available wherever the team already asks questions: the Jira page, Rovo, and external AI agents.
What it does
Sprint Risk Radar analyses the active sprint of a Jira project and produces:
- A 0-100 delivery risk score (low / moderate / high / critical) with a per-signal breakdown.
- Ranked risks, each with the affected issue keys, a plain-English explanation and a
concrete next action:
- Blocked / blocking chains: multi-level blocker chains, bottleneck issues blocking several others, blockers that live outside the sprint, flagged impediments
- Stale in-progress work: no update for N days
- Scope creep: issues added after the sprint started (from the Sprint field changelog), weighted by points
- Unassigned high-priority work
- Overloaded assignees: points far above the team mean, or WIP over the limit
- Missing estimates
- Schedule lag: % of time elapsed vs % of points done
- A rebalance proposal that gives unowned high-priority work to whoever has capacity and moves not-started work off overloaded people. It's a proposal only; the app never writes to Jira.
It shows up in four places, all backed by the same tested engine:
- Jira project page (UI Kit): score card, top actions, risk list, rebalance table, breakdown.
- Jira issue panel: "why is this issue at risk and what should I do?"
- Rovo agent "Sprint Risk Coach": conversational stand-up prep ("How risky is our sprint?", "Who is overloaded?") using three Rovo actions.
- Atlassian MCP server (
rovo:mcp): the same three tools for Claude, Cursor, VS Code and any MCP client, plus an open-source skill.md that tells third-party agents how to use them well.
How we built it
- Forge, Node.js 24 runtime. Modules:
jira:projectPage,jira:issuePanel(UI Kit /@forge/react),rovo:agent, threeactionmodules (get-sprint-risk,explain-issue-risk,suggest-rebalance, allactionVerb: GET) and arovo:mcpmodule that exposes those same actions as MCP tools. - Jira access through
@forge/apirequestJiraasUser(), so every result respects the caller's Jira permissions. The app discovers the site's custom field ids (Sprint, Story Points, Flagged) from/rest/api/3/field, then queries the enhanced JQL search endpointPOST /rest/api/3/search/jqlwith token pagination andexpand=changelog. Kanban projects without sprints fall back to open project work. - A pure risk engine (
src/engine/*.js, zero Forge imports): normalizer, seven detectors, capped scoring, explanations, rebalancer. A thin service layer takes an injected Jira client, so the whole pipeline is unit-tested against raw Jira JSON fixtures (risky sprint, healthy sprint, Kanban project): 53 node:test tests, deterministic thanks to an injected clock. - Security by design: one scope (
read:jira-work), no storage, no egress; LLM-supplied project and issue keys are validated before they reach JQL, so no JQL injection. - Thresholds (stale days, WIP limit, overload factor...) are configurable with
forge variables.
Challenges we ran into
- Link direction. Jira's
inwardIssue/outwardIssuenaming is easy to read backwards. We built the blocker graph from both sides, de-duplicated it, and made chain depth cycle-safe (A blocks B blocks A happens in real backlogs). - "When was this added to the sprint?" isn't a field. We reconstruct it from the Sprint field's changelog (comma-separated sprint id lists), with a grace window for planning stragglers.
- Site-specific fields. Story points live in different custom fields on company-managed and team-managed projects, so field ids are resolved at runtime instead of hard-coded.
- Making a score people trust. A single number is useless if nobody believes it. Every point is capped per signal and traceable to an issue key and a rule, and the UI shows the breakdown.
- One brain, four surfaces. Keeping UI, Rovo and MCP consistent pushed us to put all logic in one pure engine and keep the Forge layer to a few dozen lines.
Accomplishments that we're proud of
- The same three actions power a Rovo agent and an MCP server, with no duplicated logic.
- Fully explainable output: every risk says why, which issues, and what to do next.
- Read-only, single-scope app that a security-conscious Jira admin can approve in a minute.
- 53 fast, deterministic tests on realistic Jira payloads.
What we learned
rovo:mcpmakes "build once, use in every agent" real: Forge actions become tools for Rovo Studio and external clients with a few lines of manifest.- Agents give much better answers when tools return pre-ranked, explained findings instead of raw issues. The LLM only has to communicate, not compute.
What's next for Sprint Risk Radar
- Trend line: store a daily score snapshot (Forge storage) and alert on jumps.
- One-click fixes behind confirmation: assign, move to next sprint, add a blocker comment (with a separate write scope the admin opts into).
- Teamwork Graph: pull deployments, PRs and incidents to spot "code done, not deployed" risk.
- Per-team tuning: learn stale/overload thresholds from the team's own history.
- Confluence sprint-report macro and a scheduled Slack/Teams digest.
Built With
- forge
- javascript
- jira
- mcp
- node.js
- react
- rovo
- ui-kit