How do I prevent an automatic link to a specific ticket in a comment?

How do you prevent a link to a ticket in a comment, if you happen to reference something that coincidentally has the same name as a ticket?


I have an asset labeled "ITEM-531", and our system has the ticket label "ITEM-[tickete number]", i.e. ticket number 531 would also be "ITEM-531".

In a comment, if I reference the asset ITEM-532, it automatically links to the ticket ITEM-531, even though it is not related.

Is there a way to prevent a link such as this in a single comment?

1 answer

This widget could not be displayed.

Hi Inu,

You can do this escaping the hyphen character. In this case JIRA won't render the string as an issue key. As per your example, to avoid the "ITEM-531" string becomming a link, you can type it as ITEM\-531. :)

Best regards,
Lucas Timm

That did not work. the only thing it did was add a \ to my item name, in the text, which breaks searching (unless i remember to always put a \ in the search).

Escaping with \- did work for me on 2016-05-11

This doesn't work for me either (2018-05-30). It did the same thing as someone else mentioned. The comment now contains a "\" character in front of the "-" character. So now I see this in the comment:


Not too useful.

Escaping with \- worked for me on 2018-08-08 ... e.g. TKT\-1234

My test was in Atlassian Cloud hosted Jira, not an on-prem instance. That may(?) be a difference.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

121 views 2 0
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