The problem

Every sprint review has the same moment: someone asks "will we finish on time?" and the answer is a gut feeling dressed up as a date. Burndown charts show the past; they say nothing about the odds. Teams discover slippage when it is already too late to act on it.

What Ramalan Sprint does

Ramalan Sprint is a Forge app for Jira that forecasts sprint completion with a Monte-Carlo simulation and explains the risks behind the numbers:

  • Monte-Carlo forecast engine. The remaining work in the active sprint is simulated day by day, bootstrapping from the team's historical daily throughput. The output is a distribution, not a guess: P50 / P85 / P95 finish dates, the probability of finishing by the sprint end date, and the expected slip in days. The simulation uses a seeded RNG, so every forecast is reproducible — the same inputs always produce the same distribution, which makes forecasts testable and demo-able.
  • Graceful degradation. If a team has no historical throughput yet, the engine falls back to the current sprint's own burn rate and flags the forecast as lower-confidence instead of silently pretending otherwise.
  • Explainable risk flags. Rule-based checks sit on top of the simulation: scope growth since sprint start, WIP overload, blocker concentration, progress stalled mid-sprint, low completion probability, low forecast confidence. Every flag names the evidence behind it — no black-box "AI says risky".
  • A Rovo agent. "Ramalan Sprint Agent" answers questions in plain language ("Will the current sprint finish on time?", "What are the biggest risks in this sprint?") through two actions — Forecast sprint and Get sprint risk brief — and is instructed to always report probabilities and always surface the confidence caveat when the burn-rate fallback was used.
  • A daily risk brief. A scheduled trigger generates the brief once a day: forecast summary plus the risk flags, in markdown, ready to read in the morning instead of after the damage is done.
  • A Jira issue panel that puts the forecast next to the work itself.

How it is built

  • Atlassian Forge (Node.js 22 runtime): rovo:agent with two actions, a jira:issuePanel, a daily scheduledTrigger, a webtrigger, app storage, and Jira/Confluence scopes (read:jira-work, write:jira-work, Confluence page read/write scopes declared for the brief).
  • Forecast core in TypeScript (src/forecast/): montecarlo.ts (day-by-day bootstrap simulation), rng.ts (mulberry32 seeded RNG), risk.ts (explainable flags + markdown brief generator), tools.ts (an MCP-style tool layer — forecast_sprint and get_risk_brief as JSON in/out functions with JSON Schemas).
  • Tested: the core ships with a vitest suite, 10/10 passing — covering the empty-history fallback, seed reproducibility, percentile ordering (P50 ≤ P85 ≤ P95), scope-growth and WIP flags firing, probability bounds (including the impossible sprint = 0 and the finished sprint = 1), and the tool-layer JSON contract.

An honest note on this build

  • This build runs on a bundled demo sprint so the forecast can be evaluated immediately, with no setup. The Jira data layer is isolated behind one module (src/jira.ts), which is where live Agile REST reads slot in.
  • The daily brief is generated as markdown by a scheduled trigger. Publishing it as a Confluence page is a stub in this build (the publisher returns "not published" with the reason); the brief itself is real.
  • The MCP-style tool layer is real (functions + JSON Schemas), and the app's webtrigger answers MCP tools/list discovery. The full MCP transport for tool calls is not wired, so this project does not claim the "Best app with Atlassian MCP" bonus.

Why "Ramalan"?

Ramalan is Indonesian for "forecast / prophecy". The name is the joke and the point: a sprint forecast should be a probability distribution with stated confidence — not a prophecy. Ramalan Sprint replaces the prophecy with the odds.

Built With

Share this project:

Updates

Submission history