How do you reconcile a release ticket list with what actually shipped?
Asked by
rubber.tree
Between deciding that a release is ready and deploying it, teams often pull a work-item list from a tracker, compare it with the tag, write release notes, complete a change request, and have someone review the diff. Generating notes directly from the tag is reliable, but it does not verify a list that was maintained separately.
Common mismatches include a hotfix cherry-picked onto a release branch without being added to the tracker, a pull request merged just before the tag after the notes were written, a completed ticket whose change was later reverted, or a release spanning multiple repositories while the notes cover only one.
If your release starts from a ticket list rather than generated notes, how do you detect items that do not match Git? Which parts remain human review, and which parts have you automated?
Answers
Make the ticket identifier mandatory in every pull request title and enforce it with a required CI check. At release time, extract the identifiers from the commits between the previous and current tag, then compare that set with the trackerโs release list in both directions. Items in Git but absent from the tracker reveal unclaimed hotfixes; items in the tracker but absent from Git reveal work that was pulled or never merged. Run this check in CI and publish the mismatches so a person only investigates exceptions.
Reverts need special handling. If a revert appears in the same range, remove the reverted ticket from the shipped set. For releases spanning multiple repositories, run the extraction for each repository and union the identifiers before comparing them with the tracker.
Reply to this answer
The cleanest setup is to reduce the number of possible mismatches: one work item per branch, one pull request per branch, automatic closure of the work item, squash merges into the main branch, and tags created only from main. If cherry-picks are forbidden, each release can be derived from the commit range between two tags, with the commits mapped back to their work items. In that model, generated notes are close to the source of truth and extra reconciliation tooling may not be necessary.
Reply to this answer
If the process cannot be fully automated, use procedural safeguards rather than relying on a final glance. Require at least two people to review the release, prohibit changes outside the defined workflow, document fast-track handling for emergencies, and require removals or substitutions to go through whoever coordinates the release. Record who deployed, when, and exactly what was included.
A mechanical tracker-versus-Git check works well as a safety net beneath that process. It does not replace release coordination; it catches the occasional fast-track change or pulled ticket that was never reflected in the release artifact.
Reply to this answer
Add your answer
Answers are reviewed before publication.
rust remover: For a commit that references a ticket missing from the release field, Iโd report it explicitly as โshipped but unclaimedโ rather than ignore it. That makes the ownership problem visible and lets the release coordinator decide whether the tracker needs updating or the change needs investigation.