Forums

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

Get Rovo Agent to reply in an internal comment

Vasco
Contributor
July 7, 2026

We have built an agent that is able to get an append file, read it's content accordingly the skill provided and write the conclusion in a comment when we do a Studio Test, but when we run it from an automation and use the Step "Add comment on work item" with the value <Agent reply: {{agentResponse.comment}}>

we also used {{agentResponse}} for the same step

the reply will be post by the agent but only show "Agent reply: "

I we look at the logs and "debug agent response", we can see that the agent has a values in the comment step:
{ "issueId": "test-111", "comment": "{A very large markdown reply"}

So my question is what I'm lacking in my Jira automation, to get the agent comment text ?

2 answers

0 votes
Steve S_
Contributor
July 7, 2026

@Vasco If I understand your question correctly, there may be two scenarios to consider:

 

Scenario One

You need to double check your automation rule steps so ensure they are in the correct order and that actor adding the comment has the privileges to do it.

 

Scenario Two

If you may need to specify the format in the Prompt box for the Use agent step for the Rovo agent response.  Example:

---

Prompt

Please answer in JSON format with the field `comment` (conclusion). You must return **only a valid JSON object**

---

Now you can use the smart value {{agentResponse.asObject.comment}} in your automation step to add the comment.

 

Hope that helps.

0 votes
Jason Krewson
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.
July 7, 2026

In your step "Add comment on work item" when adding {{agentResponse}} can you try to use the smart value picker to add the smart value and let me know how testing goes after. 

It looks like your smart value is correct, as per Automation smart values - Rovo agents , but for some reason it's not recognizing it. I had a similar issue yesterday as I was pasting in the smart value, after I selected it from the smart value picker, saved, it worked like it should have the first time.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events