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

This widget could not be displayed.
Escaping the "-" with a "\" helps:
{{path/to/JIR\-123.jpg}}
This widget could not be displayed.

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
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

78 views 0 1
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