Is there any way to output whole webResponse.body (or part of it) into description without parsing it?
I have an automation rule that makes a web call to sentry. It returns a json with the following structure:
{
"id": 2123123123,
"count:": 22323,
"metadata": { "value" : "fsdfsdfsd", "title" : "some data" },
"lastSeen": "2026-22-11"
}
I want to put in into description as a code block
{code:json}
//same json as above
{code}
I can do it by dot notation with every field pair name:value, but it is boring, number of fields is too big and they can change.
Maybe there exists a json function like
{{webResponse.body.asText()}}
or at least
{{webResponse.body.metadata.asText()}}
that I can use for my purposes like this:
{code:json}
{{webResponse.body.asText()}}
{code}
Any suggestions? I think webResponse.body is a java class instance and it should have toString() function.