Escape issue number in monospaced text

Now and then I have a file named after a issue, e.g. `JIR-123.jpg`. Now when I want to show the path to this file, I monospace the path with {{ and }}:

{{path/to/JIR-123.jpg}}

Unfortunately, Jira automatically links JIR-123 and does not render the monospaced text. I get:

{{path/to<a href="...">JIR-123</a>.jpg}}

Is there a way to prevent Jira from linking the issue?

2 answers

1 accepted

Escaping the "-" with a "\" helps:
{{path/to/JIR\-123.jpg}}

use the {noformat}path/to/JIR-123.jpg{noformat} quotes

This creates a separate code block, which is not - unlike {{ }} - within the line text flow.

You could use single { } to keep in the text, but then the '{' and '}' will still be visible,

for example : some text : {path/to/JIR-123.jpg} and some more text

BTW: why don't you attach the file to the issue and link directly to the file?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

145 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you