Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Rovo agent output inconsistent when run through an automated workflow

Gaurav Sharman
August 17, 2026

I have a Rovo agent created to audit my team's artifacts based on documented guidelines available in Confluence. We use Epic, Stories, Tasks and subtasks to break down our work in the following hierarchy

Epic (Highest level information) --> Tasks & Stories (Granular breakdown of work captured by Epic)  --> Subtasks (Further granular drill down)

Now, my Rovo agent pulls a list of all qualified Epics and for each one, it audits the epic and it child artifacts for documentation standards compliance 

I have encountered the following issues recently when running this agent in a scheduled workflow which begins with a JQL for pull a list of qualified Epic:

* The agent fails to see artifact attribute values when I can see them in the UI. Examples: Dates for completion

* The agent seems to mix up assessment between two different.

All of this which my prompt to the agent in the automation flow is something like this -

 

You are running inside a Jira Automation rule. Treat this as a fresh, independent audit run.

Audit only this Jira epic:

Epic key: {{issue.key}}
Epic summary: {{issue.summary}}

Use the configured audit instructions.

You must not rely on memory, prior conversations, prior automation runs, assumptions about this project, or knowledge outside the allowed sources below.

 

 

1 answer

0 votes
Sami Shaik
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 17, 2026

Hello @Gaurav Sharman , good design already, and both symptoms are recognisable, so let me name them and then give you the shape that fixes both at once. I have built exactly this kind of audit agent, and these two failure modes are the ones everyone hits.

Symptom 1, the agent misses values you can see in the UI: it is not being handed the data. Inside an automation action, the agent gets whatever your prompt contains and whatever it can fetch through its own tools; a field you can see is not automatically a field the agent looked at. Also, an epic and its children are separate work items, so "audit this epic and its child artifacts" quietly asks the agent to discover the hierarchy itself, which is where inconsistency creeps in.

Symptom 2, the agent mixes two epics: state is bleeding between iterations. A JQL trigger runs a branch per epic, and instructions like "treat this as a fresh run" help less than they should, because the model still receives one long, similar prompt after another. The cure is not stronger wording, it is giving each iteration unambiguous, self-contained input.

The fix, one principle: let automation do the fetching and counting, let the agent do the judging.

  1. Feed the facts as text, do not ask the agent to go find them. In the rule, before the agent action, resolve every attribute you audit into the prompt with smart values, for example: Due date: {{issue.duedate}}, Fix versions: {{issue.fixVersions.name}}, plus your custom fields, and, for the children, a Lookup work items step (JQL: parent = {{issue.key}}) rendered into the prompt as a list with keys, summaries, and the fields you check. The agent then audits what is on the page in front of it and cannot "fail to see" a date, because the date is in the prompt.
  2. Make each iteration self-identifying. Start the prompt with a run marker (AUDIT RUN FOR {{issue.key}} ONLY, {{now}}), require the agent to echo the epic key in the first line of its output, and end the prompt with an explicit boundary: anything not listed above is out of scope. This is what actually prevents cross-epic mixing.
  3. Bound the output. Ask for a fixed structure per run (epic key, per-check pass or fail with the evidence quoted from the prompt, missing items). If a value is absent from the input, the instruction is to say "not provided", never to infer.
  4. Log every run to a Confluence page or a comment, so when a result looks wrong you can see exactly what the agent was given versus what it produced. Nine times out of ten the audit was right and the input was incomplete.

One diagnostic before you change anything: on a "wrong" run, add a temporary action that comments the fully rendered prompt onto the epic. If the missing date is not in that comment, you have found the cause, and it is upstream of the agent.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events