How to provide preformatted text for Jira issue? (avoid smart value interpretation)

Jeff Shepherd
Contributor
February 26, 2024

I have an automation that creates a Jira Issue. In the Description I want to have some text that is preformatted. The markdown for this is double braces (e.g. {{monospaced text}} ) but that is also the format for smart values. How do I get the automation to pass the double braces onto the issue description and treat the text as preformatted rather than a smart value? I've tried various escaping techniques (\{{, {\{, {{{{) but they aren't working.

1 answer

1 accepted

2 votes
Answer accepted
Kalyan Sattaluri
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.
February 26, 2024

Hello @Jeff Shepherd 

 

Please try below syntax

{{=<% %>=}} {{monospaced text}} <%={{ }}=%>

Reference: LINK

 

Jeff Shepherd
Contributor
February 26, 2024

That works. Thank you!

Like Kalyan Sattaluri likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events