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

Multiselect Search Template doesn't honor HTML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.9.1
    • 3.9
    • Issue - Fields
    • Standalone, JDK 1.6.0, Windows 2003 Server

    Description

      When a custom field has defined options using HTML and is attached to a mutli-select search template, it is not possible to correctly search on those fields.

      For example, we have a custom field called 'Status', with a value of "<span style="background:#0F0;">Green</span>", which just adds a green background to the field in the Issue Navigator.

      With the single-select searcher, the Find Issues query panel will correctly list "Green" along with the other options.

      With the multi-select searcher, the Find Issues query panel will incorrectly list (given verbatim below):
      Green">Green

      ... which doesn't correctly match any issues.

      Escaping the "<" and ">" symbols doesn't appear to have the desired effect either.

      Attachments

        Activity

          People

            Unassigned Unassigned
            a6b9409f-94d2-4f83-88ce-69144976f847 Deleted Account (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: