Send Jira fields as web requests without losing formatting in Automation

Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.

Summary

When you send a Web Request in an Automation rule, you may want to preserve the formatting of text fields such as Description. While it's possible to convert wiki markup to HTML or plain text, it is necessary to encode the HTML data in a web request so that a valid JSON payload can be created.

Solution

Convert Wiki markup to HTML

As long as the desired field contains wiki markup, you can convert it to HTML by appending .html to the smart value. For example, use {{issue.description.html}} to render the description as HTML.

Encode data as JSON

When sending data in a web request, you need to ensure that any special characters are properly encoded. You can use {{issue.description.html.jsonEncode}} to ensure the description is correctly formatted and encoded for JSON payloads.

You can validate how data will be received with a webhook testing site, such as webhook.site, for example, to check the HTML data received for a test description field that contains Wiki Markup.

Updated on October 23, 2025

Still need help?

The Atlassian Community is here for you.