You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello
According to linked markup help in Jira automation it's possible to use {{some text}} syntax to display text monospaced ("more formatting" --> "Code" resp. CTRL+SHIFT+M in new rich text editor).
However the double curly brackets are reserved for smart values in automation already.
How to use monospaced formatting within comments generated by automation?
Many thanks
Hey Brat,
I came up with a workaound.
Create two variables:
Then you can set monospace text this way:
{{openingCurlyBrackets.remove("\\")}}my text in monospace format{{closingCurlyBrackets.remove("\\")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you, this is so lame...
I went for this variation, create four variables:
Then use it as {{codeOpen}}my text in monospace format{{codeClose}}
this is so lame (it really is)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you need to use this in multiple words it's a little lengthier but this is what I did:
Set project-level entity properties for the four variables above in a one-time rule (pick a random issue and run a manual or scheduled trigger).
Use it as {{project.properties.codeOpen}}my text in monospace format{{project.properties.codeClose}} in any rule you want!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brat!
You should open the smart value with a backslash
For example:
\{\{monospace\}\}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Ignacio
Many thanks for your response. Unfortunately it didn't work in my rule:
This...
...becomes...
Do you see what I'm doing wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.