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

JiraKeyUtils.isPartOfUrl doesn't recognize line breaks as whitespace

    XMLWordPrintable

Details

    Description

      The DefaultTextRenderer does not recognize a valid issue key when it directly follows a URL on a previous line. For example, check out the change history of TST-21313
      http://jira.atlassian.com/browse/TST-21313?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel

      I believe it's because when the renderer finds an issue key in the text then JiraKeyUtils works backwards looking for :/ to make sure the key isn't part of a hyperlink but it only stops if it encounters ' ' rather than stopping if a character matches /\s/

      Attachments

        Activity

          People

            mlassau Mark Lassau (Inactive)
            adc6ee404f6d Jeff Kirby
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: