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

0 votes
Accepted answer
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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,750 views 18 21
Read article

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