Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Remove Jira issue hyperlink in Confluence page


I have a Confluence page that has what we call "requirement ID" numbers in it, which are the same format as Jira issue keys, e.g. REQ-10. Confluence thinks that these are Jira issue IDs, and so it creates a Jira "browse" hyperlink for them, but I don't want that to happen.

In my case, the "REQ" actually happens to also be the name of a Jira project, as is often the case in our company...maybe that's why Confluence is trying to create this link. Regardless, I don't want Confluence to create the link.

How can I avoid Confluence's automatically creating this link? I just want the bare text, "REQ-10", in the page, not a link to a (nonexistent/incorrect) Jira issue.

2 answers

@David Hazeel  was there a solution for this? I have come up with a script in java to remove. but when I hit refresh the hyperlink comes back on the confluence page. 

You need to put a '\' before the hyphen. So rather than REQ-123 put REQ\-123. That will display the text without the link.

That was the first thing I tried, and unfortunately it just displayed literally "REQ\-123". This is within a table, if that makes any difference?

I'm not sure if it being in a table would make a difference.

The only other thing I can think of is to disable the application link to Jira from Confluence - although that might have an impact on other integrations you have. If you do unhook them then it should stop any automatic links entirely.

Yeah, we do use the Jira links normally, so we don't want to disable the application link altogether.

Ah ok. Sorry to not be more helpful. It might be worth raising this with Atlassian directly?

Hi David and Jeremy, did you ever find a rersolution for this? I have the same issue. 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events