-
-
Evidence Room in Jira: five sampled changes for request REQ-014, each with a verdict and a one-sentence reason.
-
The auditor asks for five of the 37 changes in scope and proof each was approved before release.
-
Second Jira site on production: Teamwork Graph returns Mobile Dev and the unassigned item is flagged for review.
-
Repeating the request under REQ-014 links to the existing evidence request instead of creating a duplicate.
Inspiration
I study security, and the part of an ISO 27001 or ISMS-P audit that eats the week is gathering a sample. The auditor defines which changes are in scope, asks for a handful, and expects proof for each. The security lead searches Jira, picks items by hand, and then has to answer the next question: "why these five?" A hand-picked sample has no good answer. Some gaps only show up in the room, such as an approval dated after the release or evidence assigned to someone outside the responsible team.
Compliance apps I looked at report readiness per control. I wanted the smaller unit an auditor actually works in: one request, one sample, one answer per item.
What it does
Evidence Room is a Forge app for Jira. A security lead types the sample size and the auditor's request number, opens a control, and gets the answer to that request.
- A sample nobody chose. The app reads the population behind a control (a JQL query, paged to the end, up to 1,000 work items; above that the page says the population was cut and should be narrowed), ranks every work item by a hash of the request number plus the item key, and takes the lowest ranks. The result depends only on the request number and the set of keys, not on search order. The first draw is recorded. Drawing again says one of three things: identical, same items but the population changed, or different (with the keys that dropped out and came in). Asking for a different size under the same request number is refused.
- One verdict and one sentence per item. Five verdicts: sufficient, stale, missing, needs review, not assessed. For the change-approval control the app reads two Jira date fields, the release date and the approval date. No approval date is "missing". An approval dated after the release is "needs review", with both dates in the sentence. An approval that cannot be compared with a release date (the site has no such date field) is "needs review" too, not a pass. If a source cannot be read, the verdict is "not assessed"; it is never rounded up to a pass.
- Ownership from Teamwork Graph. For each sampled item the app asks Teamwork Graph which teams the assignee belongs to. Once you choose the team that owns the control, an item whose owner is not a member of that team is flagged for review. Dates alone cannot show this. Once an owning team is set, nothing passes unconfirmed: if the graph returns no team for the owner, or does not answer after the retries, or nobody is assigned, the item is "needs review" with that reason.
- Gaps become one request. One click creates a Jira work item that lists the items that fell short, each with its reason, and links to them (the first 20; beyond that the request says how many are not listed). There is one request per control and audit request number; a second click returns the existing work item.
The same answer in three places. The Jira page, an issue panel on each evidence item, and a Rovo agent ("Audit Desk") all call the same rule engine. On the demo site the agent returned the same five items and the same verdicts as the page.
Settings a site can change. Each control has a small settings form: the population query (JQL), the name of the date field that dates the evidence, the name of the approval date field, and the review cycle and grace in days. A refused value comes back with its reason. If you name a field the site does not have, the items read "not assessed", not "sufficient".
It ships with three starter controls (scheduled access review, change approval before release, backup restore test). Each carries only clause numbers, with no standard text reproduced: ISO/IEC 27001:2022 Annex A 5.18, 8.32, 8.13 and ISMS-P 2.5.6, 2.9.1, 2.9.3. Adding a fourth control is not on the screen yet; that still means editing the catalogue file.
How we built it
- Forge: a
jira:globalPageand ajira:issuePanelin UI Kit, one resolver, Forge KVS for draw records, control settings and request de-duplication. Runtime Node.js 24. - Jira REST as the signed-in user, so a person only ever sees evidence they are allowed to see: enhanced JQL search with page tokens, work item create, issue links.
- Teamwork Graph through
api.asUser().requestTeamworkGraphwith a registered Cypher query (user to teams). New apps cannot send raw Cypher, so the query is saved in the Teamwork Graph query builder and called by its key. - Rovo: a
rovo:agentwith four actions (list controls, get evidence, find gaps, request evidence). The manifest also declares arovo:mcpmodule for the three read-only actions, but I have not connected an external MCP client to it, so I am not entering the MCP bonus. The agent prompt forbids answering from memory and requires confirmation before creating anything. - A pure rule engine. Verdicts, sampling and re-draw comparison are plain functions with no Forge imports, covered by 49 unit tests: order independence, page-split independence, duplicates, short populations, the five verdicts, graph failure handling, settings validation, and the example data (the 13 loaded items must read exactly as the setup guide below says, on any project keys and any day).
- No external services. No Forge LLM, no third-party API, no data leaves Atlassian.
Challenges we ran into
- Teamwork Graph failed in bursts. On the provisioned demo site the same query for the same user alternated between a correct answer and "User is not permitted to query this organization". In one run of 14 page opens, 9 got an answer (2 of those on the second attempt) and 5 failed all five attempts. Scopes and consent were correct; other developers reported the same on provisioned sites. The app now retries with short delays inside a 12-second budget, keeps the graph's last answer per person for at most 24 hours and labels it with its time when used, and otherwise says ownership was not checked. The ownership source can also be switched to Jira groups (a stored setting; that one switch has no screen yet).
- A fair sample has to survive paging. My first version shuffled with a seed and took the front. That depends on the order Jira returns results. Ranking each key by hash removed the order from the outcome, and the test suite now checks the same 5 of 37 across shuffled input, different page splits and duplicated rows.
- Jira will not let you backdate "updated". Staleness and "approved before release" cannot be shown from the system timestamps, so controls name the date fields they read ("Evidence date", "Approved on"), looked up by name because field ids differ per site.
- Custom fields not on a screen are not returned by search. My first "load example data" created the two date fields on a fresh site and the values never came back. Example items now carry their two dates in a work item property, which needs no admin setup.
- A deployed function that would not start. Adding
"type": "module"to package.json made the deployed resolver fail with "is not a constructor". Removing it fixed it.
Accomplishments that we're proud of
- The sample is checkable by the auditor: same request number, same items, and the screen says so with the time of the first draw.
- The page explains which checks could run. With no owning team set, the verdict covers the evidence checks and the page says ownership was not checked. If a configured team membership check is inconclusive, an otherwise sufficient item is flagged for review.
- The page, the panel and the Rovo agent gave the same verdicts for the same request on the demo site: AUD-14 missing approval, AUD-20 approved two days after release, AUD-2 owner outside the owning team.
What we learned
- Teamwork Graph answers a question Jira fields cannot: not "who is assigned" but "is that person still on the team responsible for this". It also needs the same defensive handling as any network dependency.
- An empty answer is not a "no". An empty team list can mean the owner has no team or that an admin switched the scope off, so the app reports "not checked".
- Auditors and security leads care more about why an item was chosen than about a readiness percentage, so the method sentence and the re-draw result sit above the table.
What's next for Evidence Room
- Adding and removing controls from the screen. Today the three starter controls are fixed; their query, field names and cycle are editable per site.
- Evidence that lives in Confluence pages, including the "exists but you cannot open it" case.
- Preparing an Atlassian Marketplace listing.
- Known limitation: populations above 1,000 items are read only up to 1,000, and the page says so.
Built With
- atlassian-forge
- forge-kvs
- javascript
- jira
- node.js
- react
- rovo
- teamwork-graph