Hello,
I have a Jira Automation with a POST webhook call to the Confluence API. The body of the post call is something like this:
{{#issues}}
<p>
{{#comments}}
{{body.jsonEncode}}
{{/}}
</p>
{{/}}
I had an issue where multiline comments would break the call (bad request) so I added jsonEncode to {{body}} which worked, but now when someone is using a special character like < it breaks the call again.
How do I handle characters like < > " ' &
So that my calls don't break? Thanks!