Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-11505

Cannot create notes:// hyperlinks in Description field using WIKI renderer

XMLWordPrintable

      WikiRenderer doesn't render [notes://] links. DefaultTextRenderer does. For details why, please see this comment below

      The documentation says I can create hyperlinks in the Description field, using WIKI markup, by surrounding my link with '[' and ']'. I would like to be able to create links to Notes documents, using the notes:// protocol, and this appears to have been addressed earlier at

      http://jira.atlassian.com/browse/JRA-2096

      If I embed an http:// hyperlink, as above, it works. If I embed a [notes://] hyperlink, it doesn't.

      Curiously, it does appear to work in fields other than Description. If I put a [notes://] link in a comment, the link works. It also works if I generate a custom field of type URL and paste the notes:// hyperlink into that. The WIKI renderer is enabled for the Description field.

      • Here is a sample Description field entry:

        Here's a list of multiple jobs that need to be patched:

        Correct handling of bad blocks inside a read request
        *-
        [Notes://alphamosaic-m01/80256E460038EF1B/AAC7D56CA8FD884B852563BE00610639/8532F02196D6FCC48025721F0045D5CC]
        Merged functional improvements from the trunk
        *-
        [Notes://alphamosaic-m01/80256E460038EF1B/AAC7D56CA8FD884B852563BE00610639/6872C1BE4F98BD3D802571FE00312DA4]

      • What should happen is that the Notes references become hyperlinks.
      • What actually happens is that I get plain text

      Additional requested protocols to support

      From the comments, we have to add a support for these protocols too:

       As an idea - to make this pluggable, admin user can define JIRA-wide the list of supported protocol prefixes.

      Workarounds

      • Use a text render (or an additional field with a text renderer), since the text renderer properly handles the links.
      • Use a browser plug-in in a user browsers, to replace certain protocol links with the real links.

       

        1. Maisons-Alfort.jpg
          279 kB
          L'artisanat : Plombier Val da Marne 94

              Unassigned Unassigned
              2f12f9e3bb18 Dan Talmage
              Votes:
              210 Vote for this issue
              Watchers:
              130 Start watching this issue

                Created:
                Updated: