Forums

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

How to use monospace formatting with Jira Automation?

Tim Graffam
Contributor
June 25, 2019

We would like to use monospace formatting in a Jira Automation Comment rule. Since the markup for monospace is double curly brackets - the same characters used for Smart Values - I havent figured out how to accomplish this.

Is this possible to accomplish?

Thanks!

2 answers

1 accepted

2 votes
Answer accepted
John McKiernan
Atlassian Partner
June 26, 2019

Hey Tim,

John from Automation for Jira here. 

It's a good question and the answer is yep you can definitely do this. 

What you need to do is open the smart value with a backslash. 

So, this would print out in monospace:

 \{\{monospace\}\}

Screenshot at Jun 27 13-20-17.png

Hope this helps!

John 

Tim Graffam
Contributor
August 7, 2019

Thanks!

carlotac
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!
November 28, 2022

@John McKiernan1 

I wanted to use the monospace formatting in a description while using automations. If I try {{monospaced}} there is no output and if I try \{\{monospaced\}\} the output is {{monospaced}} with the brackets. 

 

What shoud I do to use monospace formatting in descriptions?

3 votes
Brad
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!
October 26, 2022

The accepted answer doesn't actually work in Automations... it just outputs "{{monospace text}}" as opposed to actually applying the monospace style to the text.

Suggest an answer

Log in or Sign up to answer