-
-
Two Keys asks one question about every approval in Jira: could anyone approve their own request? It tries every order of steps to find out.
-
Robin changes the reporter, and Jira lets Robin approve their own request. Even Jira's AI summary names the wrong person.
-
Proof in real Jira: one press runs the found steps in a practice desk. Predicted 2 steps, Jira took 2.
-
A second way: decline your own request and bring it back. Predicted 6 steps, Jira took 6. Nobody approved it.
-
One press checks every approval on the site: 75 workflows in 21 projects. In 23 of 23, one person could approve their own request.
-
A panel on every request shows who asked, who approved, and whether one person did both.
-
It suggests a fix it already tried on a copy, says what else uses that workflow, and asks before it changes anything.
-
Evidence for an auditor: what was checked, what was found, and what could not be read.
-
Two keys: one to ask, one to approve. Here Robin holds both, with each step and the reason Jira allows it.
-
After the fix, the same steps by the same person: Jira stops them at step 2, as predicted.
-
Ask the Rovo agent. The answer is computed by the app; the agent only reports it, with the steps.
Inspiration
Inspiration
In a bank, an insurer or a payment firm, nobody may ask for something and approve it too. Auditors check it every year by pulling a sample of requests. A sample shows what happened. It does not show what the rules allow.
Jira's own answer is a setting: leave the reporter and the assignee out of approving. Atlassian's IT template comes with it switched on. We tried it on a fresh, untouched service desk. One person raised a request in another name, named themself as the approver and approved it. It took four seconds, and Jira's own summary says that somebody else asked for it.
What it does
- Finds it. One press reads the workflow, permissions, portal form and people behind each approval on the site, and tries the steps a person could take, in any order. On a demo site it read 75 workflows in 21 projects in about 80 seconds and found 23 approvals. In 23 one person can approve their own request. Reading changes nothing.
- Shows why. Each way in is shown step by step, with the reason Jira allows it. Where a rule cannot be read, the answer is "Cannot say", never "fine".
- Proves it. One press makes a practice desk from Atlassian's own template. Another takes the found steps there, in real Jira: "Predicted 2 steps, Jira took 2." A second way skips the approval, so asking for two approvals would not stop it: decline your own request and bring it back. "Predicted 6 steps, Jira took 6. Nobody approved it."
- Closes it. It suggests changes it has already tried on a copy. After a yes it makes the change, reads the workflow again and checks it. Then the same steps can be tried again: "Jira stopped it at step 2 of 2." And it can put the change back: it lists what that changes, and asks before it does.
- Answers before it happens. "If we give Sam the Approvers role, what opens?" on the page, and in Rovo: "If everyone named must approve, is it closed?" The answer is no, with the steps.
- Shows what real requests say. On each request a panel says who raised it, who it was raised for, who approved it, and whether one person did both. The history of the last 12 months is judged the same way.
- Leaves evidence. A page for each approval, and a cover that says what was not read.
Who it is for
Whoever answers for an approval: the control owner or internal auditor at a bank, insurer or payment firm, and anybody who has to show an auditor that a control works. The EU's DORA rules ask financial firms for mechanisms that keep those who approve a change independent of those who request it and carry it out (Regulation (EU) 2024/1774, Article 17). Atlassian's customers have asked for pieces of this for years: "Approval steps should not bypass workflow validator" (JSDCLOUD-6988) has 497 votes.
How we built it
Forge, Custom UI, plain JavaScript, no outside services (it is eligible for Runs on Atlassian). Every call is made as the person who is using it. The engine is a model of Jira's approvals built from more than 50 experiments on a live site, written down one by one, because the documentation and the product differ in places. A search tries every situation a request can get into. Independent checkers that share no code with it run the same random workflows and the same random histories, and must agree with it. More than 950 tests, among them ones that click through every screen.
Rovo: an agent, a skill and five actions. The actions compute, the agent only reports, so a verdict is never left to a language model. The same five are tools on the Atlassian MCP server, so an AI client can ask "may this go live?" before a deploy.
Challenges we ran into
Real Jira. "Exclude reporter" looks at who the reporter is at that moment. "Everyone must approve" means everyone still on the list. Jira's own separation of duties rule has no effect on an approval. A field that is on no screen can still be set. One decline by the requester, and bringing the request back, can get around two approvals.
And saying only what is known: a rule from another app is unknown, so the answer is unknown.
Accomplishments that we're proud of
It does not ask to be believed. It says what it could not read, proves the rest in real Jira, and can be put back.
What's next
Team-managed projects, sub-tasks, and a weekly check that says what opened since.
Built with AI
I chose the idea and made the decisions. The code was written with Claude, an AI. Every claim above was tried on a live Jira site, and the notes of those tries are part of the project.
What it does
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
What's next for Two Keys
Built With
- atlassian-mcp
- forge
- javascript
- jira
- node.js
- rovo
- service-managment