Most forecasts give you a date. This one tells you how much of your open work gets done, replays that same promise from every past Monday, and says in plain words how often it came true - before you commit to it. Straight from Jira, in one command, into one self-contained report.html you can send to anyone. No servers, nothing leaves your machine.
Every quote below is copied from the report on two years of the public Hibernate ORM and Apache Kafka trackers.
1. How much of our open work gets done, and when?
At least 31 of the 2093 open issues will be done in 8 weeks, by 28 Nov 2026 (85% chance).
- Hibernate
The promise counts only issues open today. New work keeps arriving and takes its share of the team, so the forecast scales throughput by the share of past finishes that went to issues already open, measured over the same number of weeks.
2. Can I trust that number?
Past 8-week promises like this one held 7 of 11 times, in line with the 85% promised.
Commit to the number, but don't promise a date for all of it; forecast a specific release instead (--forecast-jql).
- Hibernate
The same forecast is replayed from every past Monday, from only what Jira showed that day, and checked against what happened next. "7 of 11" counts promises whose outcomes don't overlap, so each one is real evidence. An honest 85% promise still misses now and then, so the count is judged against chance, not against a fixed 85% cutoff: only a count so low that an honest 85% promise would score it or fewer under 5% of the time (one-sided binomial test) makes the report call the number optimistic and say to commit to fewer. A count too high to be chance calls the number cautious; otherwise the report says to commit to the number, as here. A shorter horizon that already fails is heeded too:
Past 4-week promises of this forecast held only 15 of 23 times, fewer than the 85% promised.
The forecast's range is too narrow: past 4-week outcomes fell outside it 9 of 23 times, where 10% was expected.
Treat the number as optimistic and commit to fewer, but don't promise a date for all of it; forecast a specific release instead (--forecast-jql).
- Kafka
The second line is a separate check. Each forecast is a range, from its 5th to its 95th percentile, and an honest one leaves only about 1 outcome in 10 outside it. When far more fall outside on either side, the report says the range is too narrow, even if the 85% count itself holds, and then advises committing to fewer than the number rather than to it.
3. Will the open list ever clear?
About 34.2 issues arrive and 23.5 get done a week; more arrive than get done.
Not all 5283 open issues will be done within 2 years at this pace; no past date like it has come due to check it.
- Kafka
When arrivals keep up with finishes, a list may never return to zero, so the report would rather say "not within 2 years" than invent a date. For a date worth promising, forecast a release or an epic with --forecast-jql.
The forecast was rebuilt and replayed on two years of 12 public Jira trackers: five run by companies (MariaDB, Couchbase, Red Hat WildFly, Percona, Atlassian Confluence), five Apache projects (Spark, Flink, Camel, NiFi, Ignite), plus Hibernate and Kafka.
How the forecast works, in plain words: it plays the next weeks out 10,000 times. Each simulated week reuses the finishes of a real past week. Of those finishes, only a share goes to the issues open today, and that share is also taken from a real past stretch of the same length, since new work keeps arriving and takes its part. The promise is the number of done issues that 85% of those futures reach.
- The 8-week promise holds about 7 times in 10, where 85% was promised. Pooled over all 12, 96 of 132 independent 8-week promises held (72.7%): 42 of 55 on the company-run trackers (76.4%), 38 of 55 on the Apache ones (69%). The Apache pool falls short of 85% by more than chance; the company-run pool falls short too, though not by enough to rule out chance (p = 0.06). 3 of the 12 reports call their own number optimistic: MariaDB and Kafka at 4 weeks, Flink at 8. Hibernate holds 7 of 11 at 8 weeks, in line with 85%.
- Assuming every finish goes to open work is far worse. That baseline held 11% of the same 8-week promises.
- The range is too narrow, and the report now says so. Outcomes land far out on both sides of the forecast much more often than they should: pooled over all 12, 38% fall in the outer 5% on either side, where 10% is expected. That is 44% on the Apache trackers and 36% on the company-run ones. 10 of the 12 reports now add "The forecast's range is too narrow"; Confluence and Hibernate do not.
- Widening the range was tried and is not shipped. 22 ways to widen it were scored on half of the trackers. The best one widens each forecast by how far the forecasts before it missed. On that half it raised the 8-week promise from 70% to 80% held and scored about as well as today's forecast. The rule for accepting it was fixed in advance, and on the other six trackers it failed: it kept the promise, but its 4-week forecasts scored 16% worse, because it also stretched the optimistic end. On Percona one forecast moved its 85th percentile from 38 issues to all 1361 open ones, where 11 got done. The runner-up failed too. So the forecast is unchanged; the report flags the narrow range instead of hiding it.
- A release forecast says what it doesn't know, but its promises are weak. Replayed from 1,298 past Mondays on 20 releases, it now reads a finished release as done, and says "not forecastable yet" where it used to fall back on the team's pace, whose dates held 27 of 314 times (9%). What it cannot do is promise a release reliably: its count promises held 65% of the time before the release and 38% after, its clear dates 34-37%, and on 113 Mondays it called a release "not within 2 years" that then cleared. Stragglers and issues added late move a release; take its numbers as a guide, not a commitment. When a finished release's own past forecasts failed, the report now says to treat release forecasts for that project as optimistic.
Point it at any public Jira, like Hibernate's:
uv sync
uv run python -m metrics --anonymous \
--jira-server https://hibernate.atlassian.net \
--jira-jql 'project = HHH AND (resolved >= -365d OR resolution = Unresolved)' \
--testing-statuses "In review, Waiting for review"
open output/report.htmlFetch a year of history: the replay needs it to measure how much of the work goes to issues already open, and to have enough past promises to judge. With less, the report says so - the share goes unmeasured, and too few past promises leave the forecast unchecked. The forecast itself needs seven weeks of finishes: the first is left out, since the query may start partway through it.
The history starts where the fetch does: at the earliest resolution date among the fetched issues. A query like the one above also brings in issues closed years ago without a resolution; their finishes are left out of throughput and of the replay rather than stretching the history back to before the window.
uv run python -m metrics --jira-server https://your-jira --jira-token <token> \
--jira-jql 'project = MYPROJ AND (resolved >= -365d OR resolution = Unresolved)'Then open output/report.html.
- Jira Cloud: also pass
--jira-email you@company.comtogether with an API token. - Jira Server / Data Center: just a personal access token, no email needed.
- Public instance?
--anonymousneeds no credentials at all and figures out Cloud vs Server by itself. - When will this release or epic be done? Name its issues with
--forecast-jql 'fixVersion = "9.0"'. With seven weeks or more of its own finishes it is forecast from them, which already leave out the time the team spent on other work, and replayed like the main forecast. If you'd rather state how much of the team works on it,--forecast-focus 0.5forecasts at half the team's pace; the report marks that as an assumption it cannot check. With too few finishes of its own, or too few past windows to measure how much of them goes to its open issues, and no focus, the release is not forecast, and there is no fallback: the report says "not forecastable yet" or "no promise yet" and asks for--forecast-focus, since the whole team's pace and "all finishes go to the open issues" both promised far more than was done. Like the main forecast, the release leads with how many of its open issues get done; the date all of them are done comes second, since a straggler or an issue added late can push it out by months. A finished release reads as done, without a chance. - Your workflow ends differently? Tell it what "finished" means, e.g.
--done-statuses "Resolved, Shipped". By default Jira's own status categories decide: statuses in the Done category finish an issue, statuses in To Do are backlog. - Dropped work isn't delivery. Statuses like
--discarded-statuses "Rejected, Duplicate"(default: cancelled, canceled, won't do) count neither as throughput nor as open work. The same goes for issues closed with a resolution like Won't Fix or Duplicate, and for triage closures such as Obsolete, Out of Date, Rejected, Timed Out or Later ---helplists them all. Set your own with--discarded-resolutions "Won't Fix, Superseded"; the list replaces the defaults. - A bulk closure is called out. A week that finishes over 5 times the median week is named, since it inflates the pace, with the advice: "If these were not delivered, add their resolution to --discarded-resolutions." On Hibernate a triage sweep once closed 144 issues as Out of Date and 27 as Rejected in one week; both resolutions are discarded by default now, so it no longer counts as delivery. A release that closes its issues in one go trips the warning too; issues closed as Fixed or Done were delivered, so leave their resolution alone.
- Cycle time starts at commitment, not at triage. It runs from the moment an issue first leaves the backlog; by default, when it first leaves Jira's To Do category; name your pre-work statuses yourself with
--backlog-statuses "Open, Ready". Issues closed straight from the backlog have a lead time but no cycle time. - QA has its own name? Same for the rework metric, e.g.
--testing-statuses "In review, QA"(default: testing). - Curious how much time is real work vs waiting? Tell it where work happens, e.g.
--active-statuses "In Progress, In Development"(default: in progress) - that powers the flow-efficiency number: the share of cycle time spent in those statuses. - Iterating on settings? Fetch once with
--save-raw issues.json, then rebuild the report as often as you like with--from-raw issues.json- no network, seconds instead of minutes, and the same numbers every time, since time-based metrics are computed as of the fetch. - Prefer environment variables or a config file?
uv run python -m metrics --helpshows every option.
Tip: let your JQL include both finished and still-open issues - the forecast and aging charts need the open ones. Select finished issues by when they were resolved: a window on created leaves out the old issues your team is finishing now and understates throughput, and one on updated pulls in issues closed years ago.
The forecast as a fan. How many of today's open issues stay open, week by week: the dashed line is the even bet, the solid line the 85% one, and the dot marks the horizon the replay could check. Beyond it the fan is extrapolated.
Cumulative flow: arrivals vs departures. Each band is a status. The top edge climbs with every issue that arrives, the done bands with every issue that leaves; while the open bands beneath them keep their height, the open list isn't shrinking, whatever the team's pace. Notable events annotate themselves, like a release closing a pile of issues in one day.
Aging work-in-progress. Started, unfinished Kafka issues by how long they've sat in their current status - anything above the dashed line has been waiting longer than 85% of past work ever did. The report also lists the longest-waiting tickets.
Cycle time, ticket by ticket. Every dot is a finished Hibernate issue - the most recent in blue, the slowest named, and the "slow zone" beyond p85 tinted red. Hover a dot in the report for the ticket, click it to open it in Jira.
Cycle time distribution. The same story as a histogram with p50 and p85 marked.
Weekly throughput. How many issues get finished each week, with the trend. The week still in progress is left out, and quiet weeks count as zero.
Handoffs. How often an issue changes hands before it's done - a property of the process, not of a person.
Lead time. From the moment a ticket is created to the moment it's done.
Where a ticket's calendar time goes. The median time per status, and every status's own histogram.
Rework. How many times tickets came back to review - each return is work done twice.
Delivery (DORA). Point it at the GitLab project behind the work, --gitlab-project group/app --gitlab-token <token>, and the report adds DORA's four keys: deploys per week, change lead time from commit to deploy, change fail rate and recovery time. Each release tag is a deploy (--deploy-tag-pattern, default ^v?\d+\.\d+\.\d+$); a deploy failed when the next one is a hotfix (a merge request labelled hotfix or from a hotfix* branch), a revert, or a rollback to an earlier tag's commit. Name your coding agents with --agent-authors srv_bot,agent@example.com to compare their changes with people's.
The report names no one. Data on individuals works only as self-assessment that management never sees, and "if ever the data is used against even one individual, the entire data collection scheme will come to an abrupt halt" (DeMarco & Lister, Peopleware, 2nd ed., с. 61, PDF 74). They list "performance measurement in almost any form" among the things that kill teams (с. 183–184, PDF 196–197). A forecast also needs honest statuses in Jira: once people are measured by them, they stop being honest. So the report shows the system - flow, queues, handoffs - and ends with a reminder: these numbers describe the system; don't turn them into targets.
How the forecast is made and checked
- What it predicts. Of the issues open today, how many get done in the next H weeks, at 85% and at 50%. Each simulation draws past weeks' throughput and a share of finishes that went to issues already open, taken from past H-week windows. The headline promise is the 15th percentile of the done count.
- Why a share. Work is not served first-in, first-out: urgent and short jobs move to the front (Reinertsen, The Principles of Product Development Flow, с. 70, PDF 84), so new arrivals take part of every week. A queue's size is only the balance of arrivals and departures (с. 71–72, PDF 85–86), and with both random it may stay far from zero for long periods (Q15, the Diffusion Principle, с. 76–78, PDF 90–92). The baseline, all throughput to open issues, is the old belief, and the replay shows what it costs: on Hibernate it held 0 of 11 independent 8-week promises (0% of 83 past forecasts), against 7 of 11 with the share.
- Fixed date, variable scope. "How much by when" is the question a forecast can answer and check; "when will all of it be done" depends on work not yet asked for (Beck, Extreme Programming Explained, 1st ed., PDF 23). The clear date is still shown, from the same simulation, capped at 2 years.
- Only what was known then. From every past Monday, each issue's status, resolution and assignee are rolled back through its changelog, so the replay sees reopened and not-yet-created work as it stood that day. A prediction system is valid only if it makes accurate predictions of what it claims to predict, established by comparing it with known data in its environment (Fenton & Pfleeger, Software Metrics: A Rigorous Approach, с. 104–105, PDF 117–118). So the replay checks the very forecast the headline shows, with the 85% promise as the acceptance range stated in advance.
- Independent outcomes. Forecasts made a week apart share most of their outcome. Each horizon also counts the promises whose intervals don't overlap; the verdict judges the longest horizon with at least 10 of them, and with fewer it states the count instead of a verdict; a shorter horizon whose promises already fail is heeded first. "Held 7 of 11" counts those independent promises; the table beside it also gives the share of all past forecasts. A promise of "at least 0" cannot fail, so it is not judged.
- Pace. The same replay picks which past weeks the forecast draws from - the last 12, 26 or 52 weeks equally, or every week weighted by recency with a half-life of 4 or 8 weeks - by the lowest CRPS, a score of how far past forecasts landed from what happened. Paces within 5% of the best count as equal and the earlier in that list wins. Weeks, and the past windows the share is measured over, come only from the fetched history, which starts at the earliest Jira resolution date. Hibernate forecasts from the last 26 weeks, Kafka from a half-life of 4 weeks.
- Bias and drift. A u-plot per horizon shows whether past forecasts leaned optimistic, pessimistic or too narrow; a y-plot test (after Brocklehurst and Littlewood) shows whether their errors drift over time, tested on independent outcomes only. On Kafka, 4-week forecasts err the same way throughout (u-plot p = 0.045) with no sign of drift; on Hibernate neither horizon leans or drifts (lowest u-plot p = 0.277, lowest y-plot p = 0.502).
- Recalibration. When errors keep a steady bias but don't drift, the book's remedy is tried: every past forecast is recalibrated by the u-plot of the forecasts whose outcomes were known by its Monday. It is used only when it also wins on a global score - CRPS standing in for the prequential likelihood Fenton and Pfleeger ask for - and the tile then says so.
- The naive baseline. A clever predictor may barely beat a naive one (Fenton & Pfleeger, Example 3.17, с. 105). So the table shows "baseline (all throughput to open issues)" next to the model, at every horizon.
- Clear dates. Past "all done by D" promises are judged only once D has passed, and only when their intervals don't overlap. On both trackers: "none of 90 past promises judged; 90 past the 2-year cap and never due."
- Held rate. Each tracker was rebuilt from a saved snapshot and its judged, independent promises pooled. A one-sided binomial test asks whether the pool holds fewer than 85%: at 8 weeks all 12 held 96/132 = 72.7% (p = 2e-4), the company-run five 42/55 = 76.4% (p = 0.06), the Apache five 38/55 = 69% (p = 0.002). At 4 weeks all 12 held 220/276 = 79.7%. The baseline held 11% at 8 weeks.
- Spread. Each past outcome has a u value: the share of the forecast's simulations that came out below it, ties counted half. For a well-made forecast u is uniform, so 15% of outcomes fall below 0.15 and 15% above 0.85. Pooled over all 12 at 8 weeks, 29% fell below and 28% above, and a Kolmogorov-Smirnov test against uniform gives p = 0.001 (Apache p = 0.011, company-run p = 0.24). In the outer 5% tails, expected 10% together, all 12 have 38% (p = 2e-17), the Apache trackers 44% and the company-run 36%. Too many outcomes in both tails means the range is too narrow, not that it leans one way, so the verdict's optimistic or cautious cannot show it. A separate test does: on the judged horizon, else on the longest shorter one, it counts independent outcomes beyond the 5th or 95th percentile, and a one-sided binomial test against 10% at 0.05 adds "The forecast's range is too narrow". It fires on 10 of 12 trackers.
- Widening, chosen on six trackers and tested on the other six. Trying variant after variant on the same data and keeping the best tunes the method to that data, so the best variant should be chosen on a development set and confirmed on a final set it never saw (Manning & Schütze, Foundations of Statistical Natural Language Processing, с. 207-208, PDF 244-245); the configuration that wins in-sample often does worse out of sample (Bailey, Borwein, López de Prado & Zhu, The Probability of Backtest Overfitting, с. 13). So the trackers were split before scoring: development MariaDB, WildFly, Spark, Flink, NiFi and Hibernate; holdout Percona, Confluence, Couchbase, Camel, Ignite and Kafka. The rule was fixed in advance: a variant is eligible when, at both 4 and 8 weeks, a two-sided binomial test does not reject 85% held (p ≥ 0.05) and its CRPS is at most 1.05 times today's (geometric mean over trackers); among eligible variants the lowest CRPS wins, within 2% the one with fewer parameters; the winner must then meet the same rule on the holdout.
- Candidates. 22 variants in five families: drawing blocks of consecutive weeks, drawing throughput and share from the same or from all past windows, adding uncertainty to the pace, adding uncertainty to the share, and widening each forecast by the errors of the forecasts before it.
- Development. Today's forecast held 46/66 = 69.7% at 8 weeks (p = 0.0015) and 108/138 = 78.3% at 4 weeks (p = 0.032). Two variants were eligible. The winner widens each forecast in log scale, around its median, by the root mean square of the standardized errors of the last 26 forecasts whose outcomes were known by its Monday, never narrowing and only with 8 such errors or more: 53/66 = 80.3% at 8 weeks (p = 0.30), 118/138 = 85.5% at 4 weeks, relative CRPS 0.983 and 1.015. The runner-up draws each H-week total whole from every past H-week window instead of adding up single weeks: 50/66 = 75.8% (p = 0.055), relative CRPS 1.014 and 1.049. Seeds 1 and 2 gave the same picture.
- Holdout. The winner met coverage (54/66 = 81.8% at 8 weeks against 50/66 = 75.8% for today's forecast; 116/133 = 87.2% at 4 weeks) and cut the 8-week outer tails from 39% to 26%, but its 4-week relative CRPS was 1.161 (1.158 and 1.162 on seeds 1 and 2), over the 1.05 cap. Widening symmetrically in log scale stretches the upper end most: on Percona the 85th percentile of one 4-week forecast went from 38 to 1361, every open issue, where 11 got done. Without Percona the 4-week figure is still 1.056. The runner-up failed on both counts: 48/66 = 72.7% at 8 weeks (p = 0.009), relative CRPS 1.324 and 1.264. No variant passed, so none is implemented.
- What is left. Widening only below the median scored 53/66 at 8 weeks and relative CRPS 0.984 and 0.993 on development, but it came from looking at the holdout failure, and the holdout is now spent for this family. The second attempt below tested it on fresh trackers.
- Second attempt, on fresh trackers. The lower-only variant was then frozen on all 12 old trackers: the same root-mean-square factor, applied only below the median, with the upper half unchanged. It was confirmed on 8 trackers it never saw, under the same rule. The Apache ones were Calcite, Cassandra, Ozone (HDDS) and Impala; the company-run ones were MongoDB Compass, Percona Monitoring and Management (PMM), Qt Creator and Red Hat Developer Hub (RHIDP). It failed on all three seeds, and in the opposite direction: the promises became too cautious. At 4 weeks it held 170/184 = 92.4% to 171/184 = 92.9% (p = 0.0018-0.0036). At 8 weeks it held 81/88 (p = 0.072), with relative CRPS 1.016 and 1.006. Today's forecast already met the target there: 160/184 = 87% (p = 0.54) and 80/88 (p = 0.14). On these trackers the misses fell above the range, where work finished faster than forecast: 12.5% at 4 weeks and 18.2% at 8 weeks, against 5% expected. Below the range they were already about right, at 6.5% and 5.7%. The factor counts errors on both sides but stretches only the lower half, so past overshoots pushed the promise down. The forecast therefore stays unwidened, and the report keeps saying "The forecast's range is too narrow".
- Releases. The release forecast was replayed from every Monday from 30 weeks before each of 20 releases up to the snapshot: 1,298 Mondays. States are rolled back, membership is today's. Neighbouring Mondays share most of their outcome, so these are shares, not independent tests.
- Caveats. The trackers share calendar weeks, so pooled promises are not strictly independent. The verdict rejects when either horizon fails at 0.05, so under a well-made forecast it raises a false alarm up to about 10% of the time; MariaDB's 4-week 16 of 23 (p = 0.046) is borderline. The range test reads horizons the same way and shares that rate: Ignite at 4 weeks (p = 0.023) and WildFly and NiFi at 8 weeks (p = 0.019) are its borderline cases, though the pooled tails leave no doubt that the range is too narrow overall.
- The past share of finishes going to issues already open carries over into the next H weeks.
- Dates beyond the checked horizon are extrapolated, and lean optimistic: the share falls as the horizon grows.
- Discarded issues are not "done": they leave the list but don't count toward the promise.
- Membership in a
--forecast-jqlscope is not rolled back: the replay takes today's scope as if it had been the scope on every past Monday.
GPL v3 - see LICENSE.











