Forums

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

Rovo Agent Response String To JSON

Chance Douglass
Contributor
June 16, 2025

I am trying to treat the response from a Rovo agent as a JSON object and reference it using dot notation.  I have the agent response formatted correctly. Excerpt here:

{ "documentStatus": "PRD In Process", "documentOwners": [], "projectStatus": "", "prfaq": "", "epicTicket": "", "targetRelease": "", "designer": "", "techLead": "", "relatedDocumentation": [], "termsAndDefinitions": ""}

but I am unable to access any of the information outside the entire response.

I have tried using the 'jsonStingToObject()' method both as an entire variable creation and individually in line during the automation.  I can not get any results with the jsonStringToObject call either in dot notation, or for the entire string.

 

Anyone here had success with either of these methods? Or know of a better one?

Screenshot 2025-06-16 at 09.13.47.pngScreenshot 2025-06-16 at 09.14.01.png

2 answers

0 votes
Alex Gallien
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 23, 2025

I came across this while trying to solve the same problem. The workaround that seems to have worked for me is saving {{agentResponse}} as a variable then passing that variable to the jsonStringToObject() function. From there I was able to use dot notation to call other values in the JSON that Rovo returned to me. Hope that helps you too!

Bill Sheboy
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 Leaders.
July 9, 2025

Hi @Chance Douglass 

Just following up to check if this answered your question.  If so, please consider marking this one as "answered".  That will help others with a similar need find solutions faster.  If not, please let the community know what help you need with the rule changes.

Thanks, and kind regards,
Bill

0 votes
Marc - Devoteam
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 Leaders.
June 17, 2025

Hi @Chance Douglass 

I'm not sure but are the agent responses JSON, I think they are text.

Do you get results, when using {{agentResponse.documentStatus}} or even simpler {{agentResponse}}

What are the responses?

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events