The problem nobody audits
Every team has this ticket: someone comments "LGTM, ship it", the status moves to Done, and two weeks later nobody can prove what was actually approved — or whether it quietly changed afterwards. The evidence exists, scattered across a comment thread, a status dropdown, and a link somebody pasted. Reading it back is a manual, argumentative exercise.
Jira already stores three of the facts that matter: the approval comment, the evidence link, and the status history. What it does not give you is a way to take a snapshot of those facts and later prove the snapshot still matches.
What it does
Signoff Receipt is a panel that sits on the issue itself and scores three checks:
| Check | What it proves |
|---|---|
| Approval comment on record | Someone wrote an explicit approval, and who |
| Evidence link attached | There is a web link backing the decision |
| Nothing changed after sign-off | No status transition happened after that approval |
When all three pass, one click stamps a receipt. The app hashes a canonical snapshot of the approval trail, writes it to a Jira issue property, and posts the summary back to the issue as a comment. Each receipt commits to the previous one, so a series of receipts forms a hash chain anchored in the issue.
Click Verify and the app recomputes the hash from live issue data. If the trail changed after sign-off, the hashes no longer match, and the panel shows both values side by side:
Changed since receipt #1: a6450dda589f… → 7f21c0b8e4d2…
That red line is the whole product. It is the one thing a status field can never show you: approved, then quietly changed.
How we built it
Platform. A single Atlassian Forge app on the nodejs22.x runtime, exposing one jira:issuePanel module. The UI is Custom UI — plain HTML/CSS/JS bundled with esbuild into an IIFE — talking to a Forge resolver through @forge/bridge.
Read path. getSnapshot builds the snapshot from three Jira Cloud REST v3 endpoints via api.asApp(): issue fields with expand=changelog, the most recent comments, and remote links. Comment bodies arrive as ADF, so we flatten the document tree to text before matching. An approval is any comment opening with approved, approve, LGTM, or sign off. Receipt comments are filtered out by their own prefix — otherwise the app would count its own audit trail as a fresh approval and the receipt would self-pollute. Freshness compares the newest status transition in the changelog against the newest approval timestamp.
Hash. The snapshot is canonicalized with a recursive key sort, JSON-stringified, and SHA-256 hashed. The volatile updated field is excluded from the hash, so an unrelated edit does not invalidate a legitimate receipt.
Write path. stampReceipt persists {hash, prevHash, seq, at, by, passing, total, status} as a Jira issue property named signoff-receipt, then posts the same summary as an ADF comment. Because prevHash points at the previous receipt, deleting an intermediate receipt breaks the chain.
Storage. No external database. Receipts live in the customer's own Jira instance, under the same permissions and retention as the issue. The app is stateless and makes no outbound network calls, which also makes it eligible for Runs on Atlassian.
Challenges
Forge's path guard. route\${path}`treats the whole path as one interpolated value and Jira rejects it with *"Disallowing path manipulation attempt"*. Route templates had to be written with static segments and single-value interpolations —/rest/api/3/issue/${key}/comment` is fine, a composed path string is not.
Library export shapes. @forge/resolver v2 exports { default, makeResolver } in CJS, so new Resolver() on the module object throws "Resolver is not a constructor". @forge/api v8 exports only a default namespace, and storage is no longer part of it — which pushed us toward issue properties, a better fit anyway: a receipt belongs to the issue, so it should be stored on the issue.
Self-pollution. The first version counted its own receipt comment as an approval, so every stamp incremented the approval count and changed the next hash. Filtering by the receipt prefix fixed both the count and the hash drift.
Discoverability. In the new Jira issue view, app panels are not shown by default — the user has to open the app actions menu once per issue. That is not a bug in the app, but it changes what the demo has to show, and it is why the setup instructions spell the step out.
What we learned
An audit trail is not hard to store; it is hard to make checkable. Hashing a snapshot is three lines of code — deciding what belongs in the snapshot, and what must be excluded so the hash stays meaningful, is the actual design work.
What's next
Sign-off across linked issues (a release ticket that depends on three approvals), a Rovo agent that answers "is this release actually signed off?" by walking the chain, and an export that turns a receipt into a PDF for auditors who do not have Jira access.