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

Quicksearch links in JIRA gadgets doesnt escape [ ] brackets, if gadget result is grouped on a Multi-Select - Custom field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 4.4
    • Issue - Fields

      Pre-condition:

      • A searchable multi-select custom field.
      • issues using that field

      1. Set up a JIRA gadget on dashboard, for instance "JIRA Issue Statistics"
      2. Ask to use a multi-select custom fields as gadget statistic type.
      3. Save the gadget config, and let JIRA load gadget with results on that statistic type (the multi-select custom field)
      4. [] square brackets are put around the multi-select values in the gadget list result.
      5. Click on one of the statistic-type URL quick searchlinks (to issue navigator)

      Actual result:
      Issue navigator JQL fails to find issues due to square brackets [] around the multi-select values are not escaped properly. Quick-Search fails since multi-values are not in consideration
      So the incorrect generated JQL could read for ex:

      project = ED AND Operation = "[Barn, Generellt]"

      Expected result
      Gadget result links, and Issue navigator escapes [] in JQL. Quick-search success

      project = ED AND Operation IN (Barn, Generellt)

        1. 1.JPG
          1.JPG
          39 kB

              Unassigned Unassigned
              040b6ad61e55 Lars Lars
              Votes:
              9 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: