Forums

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

Rovo response formating

Daryna Karusheva June 28, 2025

Hello everyone! My team is trying to use the Rovo agent. We ask Rovo to give a response in a certain format. For example, JSON or any other format, and then we try to process it as smart value. We use Atlassian hints in Automation, but none of the hints work. 

For example, {{agentResponse.capitalize()}} gives us an empty result, but there must be some text.

Do you have any idea how I can fix it? Without it, these responses as the Rovo are useless

https://api.media.atlassian.com/file/e7c63b11-0391-4642-a685-95a27c7f5006/image?token=eyJraWQiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzL29yMnEzY2p1cjVndjVqdmMiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJtZWRpYSIsImNsaWVudElkIjoiYTk2MGEyZDQtZGIwMC00MTE0LThmNDctZmU2ZDI1ZDFkYzdkIiwiYWNjZXNzIjp7InVybjpmaWxlc3RvcmU6ZmlsZToqIjpbImRlbGV0ZSJdLCJ1cm46ZmlsZXN0b3JlOmNvbGxlY3Rpb246ODcxNjE3NCI6WyJyZWFkIiwidXBkYXRlIiwiaW5zZXJ0Il0sInVybjpmaWxlc3RvcmU6dXBsb2FkOioiOlsicmVhZCIsImNyZWF0ZSIsInVwZGF0ZSIsImRlbGV0ZSJdLCJ1cm46ZmlsZXN0b3JlOnVwbG9hZCI6WyJjcmVhdGUiXSwidXJuOmZpbGVzdG9yZTpmaWxlIjpbImNyZWF0ZSJdLCJ1cm46ZmlsZXN0b3JlOmNodW5rOioiOlsicmVhZCIsImNyZWF0ZSJdfSwibmJmIjoxNzUxMTQ5MTQwLCJpc3MiOiJtaWNyb3MtZ3JvdXAvY3N0LWF0dGFjaG1lbnRzIiwiZXhwIjoxNzUxMTU5OTQwLCJpYXQiOjE3NTExNDkxNDAsImp0aSI6IjZjY2NhYWUwLWMyYzQtNDk0Ni1iYzZjLWE5ODcxNDBjYzkxYyJ9.nisAWAfMvDy7quJDxUKukt3Xmn-OE0UBqxlcjXMGa_w7RqEYB2IeufDo34ZEwUQXvn_J6fOkQ-S-qgBKV7CgCZoN5bDKlmvNXVTCgGMObGivuR0uZJxv-zRAUrQb3LcKwrjrjauWf3kVE0p7wLpZKidXJkeCrEAIwtZomhhrxQK4MQvQmOPQeRD2vjwjGj_z33pwbmnHrwze3c7tYcWuaZKEavrwTujhAzu55hbE6qnAJcKoWF3TWhAMxvxZV0Jr8wX9lPx1z1OzjQXA8VSIJrfIGLOb2iMpj1CKenk_Q8sqgNKe03_lrYxS875cOYU96cjW4b8TF7ovr3mKn6WqpQ&client=a960a2d4-db00-4114-8f47-fe6d25d1dc7d&collection=8716174&max-age=43200&dl=true&height=4096&width=4096&mode=fit

2 answers

1 accepted

4 votes
Answer accepted
Oleksii Melnyk
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 28, 2025

Hi! It's a pity that you encountered such a situation. I had a similar experience and was able to solve it in the following way:
1. After the response from Rovo, create a variable and add the response to it.
2. Format the response itself, for example {{rovo.capitalize()}}.

In my case it looked like this:

get {{agentResponse}} --> create variable {{rovoHr}} with smart value {{agentResponse}} --> create variable {{HrType}} with formatting smart value {{rovoHr.split("-").get(0)}}
Снимок экрана 2025-06-29 в 00.40.24.pngСнимок экрана 2025-06-29 в 00.40.31.pngСнимок экрана 2025-06-29 в 00.40.35.png

Daryna Karusheva June 28, 2025

Thanks, that works!

Dr Valeri Colon _Connect Centric_
Community Champion
June 30, 2025

Gold star for showing your work, thanks @Oleksii Melnyk 

Like Oleksii Melnyk likes this
0 votes
Kenneth Rodhil Pangan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2025

I’ve run into similar formatting issues before when working with Rovo responses. In my case, I used eesel to help integrate and transform agent outputs for other platforms (like Confluence or Jira).

What helped was setting up a clear post-processing step to clean or reformat the raw response before passing it to smart values. Sometimes the raw output includes hidden characters or unexpected line breaks that break parsing.

Might be worth checking the raw response first (even just printing it out in logs) to see exactly what’s coming back before applying smart value functions.

Hope that helps! Curious if others here have found smoother solutions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events