How to prevent auto linking in JIRA markup?

I want to write an example URL in a JIRA issue description, like

 

... use the site {{http://localhost/test}} ...

but this gets rendered as a clickable link (even though it is wrapped in the inline code markup). How to get rid of the auto-linking?

4 answers

Not pretty nice but you can wrap it in a {noformat}http://www.....{noformat} macro

It will then look like 

www.google.com

The noformat macro isn't inline so I cannot use it. (It will create a block element around the URL.) Another solution? Is there like an inline noformat macro? Didn't find anything..

Mmmh. The only thing I can come up with is {http://www.google.com}. Mask it in some form...

Well, did work on my local instance of JIRA :-)

Is there like an universal escape character that isn't rendered that would "break" the URL so that JIRA doesn't consider it as one? I tried `{{http\://localhost/example}}` but the backslash is rendered.

Sorry but I'm out of ideas. I've tried different backslash combinations / positions and none works

There are always ugly hacks like finding a Unicode character that looks like a double colon but is not one but one shouldn't really need to use it. Inline noformat is a common solution in most wiki dialects so maybe JIRA will add it one day :)

0 vote

Make the text field use the text renderer in a field configuration scheme

I need the behavior in the description field. So I'm looking for a syntax trick to achieve that, not a chance in configuration.

Did you ever find a semi-solution for this?

Our issue is similar. We need to disable the key auto-linking (JIRA-123) in our release management lists where our release package filenames match the JIRA ticket IDs for trace-ability.

Our workarounds are:

  • Set the renderer to 'Simple text', and live with the renderer still adding links to the filename.
  • Enable 'wiki syntax' rendering, and have the issue auto-fill the status (bad). Further with 'wiki syntax', we tried using noformat and code brackets, but we are forced into a narrow vertical scrollbar, and users can not see the entire list at a glance (and have missed important contents sometimes!!)

I wonder if they will ever create a simple text renderer?

 

In case anyone gets here through a search - you can prevent a link from being active by using the HTML unicode entity for a colon: :

So the enter this:

  http://localhost/

and see

  http://localhost/

(Hopefully this answer will be rendered correctly 🤞)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 14 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

38 views 0 5
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