How to Use Rovo to Debug and Design Jira Automation Rules
A Rovo agent that reads every Jira automation rule (flow) on your site — debug a misfire, check what a change breaks, and sketch a new rule before you build it.
Every automation ticket costs the same hour. "Please automate this" means reading the rules that already exist before you build a duplicate. "It doesn't work" means reading every rule that touches the field until you find the one that fights it. A Rovo agent for Jira automation can do that reading for you — if it can see all the rules at once, not one at a time.
That is what the Automation Expert agent in Automation Map is: a Rovo agent whose tools read every automation rule (Jira now calls them flows) on your site, the links between them, and the findings about each one. This guide shows the cases it handles well, the prompts that work, how to give the same tools to your own agent in Rovo Studio, and where its knowledge stops.
What the agent can see
The agent answers only from its tools. It is told never to answer from a rule's name or from what Jira automation "usually" does, and it says so when the tools do not know. The tools are:
| Tool | What it answers |
|---|---|
| List projects | Which spaces (projects) have rules, and how many |
| Project overview | One space's rules, live and blocked chains, trigger conflicts, recursion, rules creating work items in other spaces |
| Search rules | Rules by free text, by trigger type or by action type — across the whole site or one space |
| Get rule | One rule in full: trigger, every step, findings, links, conflicts, description and, on Advanced with pushed usage, its runs, failures and a diagnosis (beta) |
| Get relations | What sets a rule off and what it sets off, and whether each link actually fires |
| Who touches | Every rule that reads or writes a field, status or value — and whether the match is in the trigger, a condition or an action |
| Rules without a description / Save descriptions | Rules nobody has described yet, and a place to save descriptions and insights |
| Draft documentation | Everything a documentation page for one rule or one space is made of, with the template to write it to |
| Check a rule against a work item | Why a rule did or did not act on one work item: enabled, in its scope, matching the trigger's JQL and each JQL condition (asked of Jira, as you), plus its recent failures |
| What the rules really did (beta, Advanced) | Rules that fail, run or spend the most steps, do nothing or never ran, from the usage and audit-log counts your own job pushes, and whether a product is on pace to pass its monthly run limit |
Every rule the agent names comes back as two links: one to the rule's card on the map, one to the rule in Jira's own editor. The agent is instructed never to build a link itself.

Where the agent's links lead: the rule's card on the map
Case 1: "Please automate this" — design before you build
The expensive mistake is not a badly built rule. It is a second rule doing what a first one already does, or a new rule racing an old one on the same event.
Ask the agent before you open the editor:
We need an automation that assigns new Service Requests in SUP to the on-call engineer. Is there something like it already, and what would a new rule collide with?
What it does, in this order:
- Searches the whole site by trigger type and action type, not only the asker's space — the best template usually lives in another team's space.
- Walks through the closest rule's logic step by step, as a pattern to copy.
- Checks the target space: its overview, plus who touches on the fields the new rule would write. Two rules writing the same field is where "it keeps getting overwritten" comes from.
- Names the collisions: other rules on the same event in the same place (Jira does not promise which runs first), and rules that already fill the field.
From there you can ask it to sketch the new rule on that pattern — trigger, conditions, actions — and to say whether it needs Allow flow trigger (Allow rule trigger before the rename) on (only if it must react to another rule's action; off is the default, and on is how loops start). Building it stays with you, in Jira's editor: the agent never creates or edits a rule.
Case 2: "It doesn't work" — or "it does too much"
Three symptoms, one method.
The "Priority" field on DEV bugs keeps changing back after we set it. Which rules touch it?
The agent starts with who touches on the field and keeps only the matches in actions — the rules that write it. Then it reads each suspect's links:
- A chain that never fires. Rule A's action should set off rule B, but B has Allow flow trigger off. Nothing errors; nothing runs. The agent names B and the switch.
- Rules racing on one event. Several enabled rules answer the same event in the same space. The result depends on which runs first, and Jira promises no order — the usual cause of double comments and overwritten fields.
- A rule that is simply off. "It doesn't work" often means the rule is disabled. The agent says so.
It finishes with a diagnosis and an exact instruction — which rule, which block inside it, what to change to what — for you to carry out in Jira. It draws chains as text so they read at a glance; a blocked one looks like this:
SUP: Escalate ──triggers──▶ SUP: Notify owner ──✗ BLOCKED──▶ SUP: Page on-call
The same questions are covered in more depth in why a Jira automation rule stopped working.
Case 3: "What breaks if I disable this rule?"
What breaks if I disable the rule "SUP: Escalate requests nobody answered in two days"?

What would stop firing if the rule were disabled (demo data)
The agent reads the rule's incoming and outgoing links and counts only the ones that actually fire as the real impact: which rules stop being set off by this one, and what each of them stops doing. Other rules or people can still cause the same events. Links that are already blocked are not firing today, and it says so — usually a relief. It also mentions the trigger conflicts that would disappear. The map-side version of this check is in how to see what depends on a rule before disabling it.
Case 4: "Why did this happen to PROJ-123 yesterday?"
Give the agent the work item and what happened to it:
PROJ-123 got two identical comments at 14:32 yesterday, right after it moved to Escalated. Which rules could have done it?
It narrows the question down to the rules that listen to that event in that space, the chains that could have reached the work item, and the conflicts that could have produced a second action — as likely causes, drawn from the structure of the rules.
If a rule should have acted and did not, name the rule and the work item: the agent asks Jira whether the rule is enabled, whether the work item is in its scope, and whether it matches the trigger's JQL and JQL conditions.
NOTE: The agent holds the configuration of the rules, not the record of each run. It will not tell you what a rule did to one work item: which run touched PROJ-123 is in that rule's audit log in Jira. On Advanced, once a job on your side pushes usage and the audit log (beta), it also knows how often each rule ran, failed or did nothing over the last 30 days and which step fails. Those are counts per rule and day, not the story of one run. The agent's answer is a shortlist to check in the audit log, not a verdict.
Case 5: Documentation nobody had time to write
Document the automation of the SUP space.
The agent writes the page to a fixed template — summary, then one section per enabled rule with its purpose, when it runs, every step, the rules it is connected to, and its findings, then disabled rules and chains and conflicts. For each purpose it says whose words they are: written by a person, written by AI, or read off the configuration. When you ask for a Confluence page, it offers to create it with exactly that content and creates it only when you say yes.
It can also describe rules that have no business description yet and save those descriptions to the app's own knowledge base. Apart from a Confluence page you approved, that is the only thing it writes, and a description a person wrote — in Jira or in the app — is never overwritten. More on this in how to document Jira automation rules.
Build your own agent on the same tools
The agent's tools are also offered to your own agents: ten of the eleven, everything except the documentation draft. In Rovo Studio you can add them to a custom agent of your own and combine them with Jira's tools and your own instructions. The same ten are served by the app's MCP server (Forge's rovo:mcp module), so Claude, Cursor or another MCP client can use them once a site admin turns the app's tools on in Atlassian Administration (an early-access feature from Atlassian).
One pattern that works well for support is to split a ticket into jobs:
- Ticket reader — Jira tools only: reads the work item, its comments and history, and states what the reporter saw.
- Rule investigator — Automation Map tools: who touches on the fields involved, then the suspects' links and full logic.
- Pattern finder — Automation Map tools: searches the site for rules built the same way, which often shows the bug is a copy of a bug.
- Orchestrator — delegates to the three, then writes one answer: diagnosis, evidence, the exact change to make.
The reader turns "it doesn't work" into facts; the investigator never has to guess which work item was meant. Keep the rules the Automation Expert follows: answer only from the tools, link every rule, and say that the structure is not the run log.
Limits worth knowing
- Structure first, counts on Advanced. Everything above is read from the rules' configuration. On Advanced, with a job on your side pushing usage and the audit log (beta), the agent also has runs, failures and steps per rule. These are counts, not the record of one run. Retries, and what a web request returned, are in Jira's audit log.
- As of the last refresh. Answers carry the date the map last read the site. A rule changed five minutes ago may not be in it yet, and the agent warns when the map is stale.
- Administrators only. The map answers Jira administrators; everyone else gets one sentence saying who to ask.
- Read-only about Jira. The agent never changes, enables or disables a rule, and never flips a switch. It tells you exactly what to change.
- Every edition, your Rovo. The agent and its tools are on Standard, Advanced and Enterprise. It needs Rovo on your site, and its use counts against your organisation's Rovo usage — not against anything the app bills.
FAQ
What can a Rovo agent do with Jira automation rules?
With Automation Map installed, the Automation Expert agent can search every rule (flow) on the site, read any rule in full, show what sets it off and what it sets off, list every rule touching a field, and draft documentation. It reads the configuration only and never changes a rule in Jira.
How do I check whether an automation already exists before building a new one?
Ask the agent to search the whole site by the trigger and action you plan to use. It shows the closest existing rules as a pattern, then checks the target space with who touches on the fields you would write and names the rules the new one would collide with.
How do I find out why an automation rule ran on a work item?
Give the agent the work item and what happened. It returns the rules that could have done it and why, from the structure of the rules. Which one actually ran is in that rule's audit log in Jira — the agent points there instead of guessing.
Can the agent create or fix automation rules?
No. It is read-only about Jira: it gives the diagnosis and the exact change — which rule, which block, what to set — and you make it in Jira's editor. Apart from a Confluence page you approved, the only thing it saves is rule descriptions, in the app's own knowledge base.
Can I use the same tools in my own Rovo agent?
Yes. Automation Map offers ten of the agent's eleven tools to custom agents in Rovo Studio and through its MCP server, alongside Jira's own tools. Only the documentation draft stays with the Automation Expert.
Does the Rovo agent cost extra?
The agent is included in every edition of Automation Map, Standard too. It needs Rovo on your site and runs on your organisation's Rovo, so its use counts where your other Rovo agents count, not on the app.
Is it the same thing whether I say rules or flows?
Yes. Atlassian has renamed automation rules to flows and projects to spaces — same things, new names. Whatever you call them, the agent quotes rule, field and status names exactly as Jira spells them.
Try it on your own rules
Export your rules, load them into Automation Map, and ask the Automation Expert the question from your last automation ticket. The answer comes with a link to every rule it names — on the map and in Jira.