Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-76802

In the new issue view, in a multi-line text custom field or in the issue description field, not all the URLs are rendered as links

XMLWordPrintable

      Issue Summary

      In the new issue view, in the issue description or in a multi-line text custom field, if you add a URL that is not http, https, ftp or mailto, this is not rendered as a link but it is shown as single text:

      Everything works fine when using a single-line text field.

      Steps to Reproduce

      1. In the new issue view, in an issue description enter a valid URL like, for example ftp://something.org
      2. See that after hitting enter, the string is correctly rendered as a link
      3. Now repeat the same test but enter any of the following URLs: ftps://something.com or gopher://something.org or integrity://something.org or smb://, file:// etc, and hit enter.

      Expected Results

      All the URLs are correctly rendered as links 

      Actual Results

      The URLs are rendered as simple text strings and are not clickable.

      Some URLs appear to be hyperlinks but nothing happens when you click them. When you try to open in a new tab file:// they redirect to about:blank#blocked

      Workaround

      In some cases, for the most used protocols like ftps:// and SCP, using the markdown syntax '[TEXT-HERE] (URL-HERE)' for links works:

      However, by using the markdown syntax using less common protocols like for example gopher:// or integrity:// or nntp://, the text is rendered as a link, but it is creating a broken link that is missing the URL:

      Another workaround, when applicable, is to use a single-line text field since everything is correctly rendered as a link in there.

        1. 01-Links-multi-line-text.jpg
          34 kB
          Dario B
        2. 02-markdown-workaround-ok.jpg
          19 kB
          Dario B
        3. 03-markdown-not-ok.jpg
          16 kB
          Dario B
        4. image-2024-09-09-12-53-11-047.png
          47 kB
          Cecille Maquito

              b44ee328bea8 Ethan Yew
              dbonotto Dario B
              Votes:
              22 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated: