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

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

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,305 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot