Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-1854

[JIRAALIGN-1854] Roadmaps - Filter on Tag Search HTML Encodes special characters, making filtering difficult

    XMLWordPrintable

Details

    • 1
    • Severity 3 - Minor
    • Avengers - TART5

    Description

      Issue Summary

      Live Roadmaps - When trying to filter using tags that contain certain special characters (such as the ampersand), the tag search will HTML encode some of those characters, which, in turn can limit the customer from choosing the tag that they want.

      See ac10xm1.agilecraft.com as an example, although the case there is not as extreme.

      Steps to Reproduce

      1. Log in to the instance.
      2. Go to live Roadmaps.
      3. Select a Program in Tier 1 (AgileCraft Core in this case)
      4. Select feature by capability from the drop down
      5. select month by quarter:
      6. Wait for roadmap to load.
      7. Click Filter at the top of the page
      8. Select Tags and click the plus sign
      9. Type in "HR_&" (without the quotes) to begin the search

      Expected Results

      In the example above, we have a tag called "HR_&_Benefits". When the customer begins to type this out, they should only see this tag or at least a list of non-html encoded tags to choose from.

      Searching for tags to filter on in the Capabilities Grid does this properly, for example

      Actual Results

      On the Roadmaps page, however, the filter search html encodes the ampersand. You can see this on ac10xm1:

      In the case of the customer, this floods their entire list of choices, which makes it impossible to choose the tag they really want:

      Viewing this in Chrome developer tools, we see the following activity from the "Network" tab:

      https://xxxxx.agilecraft.com/RestV1/tag?typeval=1&SearchTerm=HR&count=20

      [{"ID":388,"Name":"HR_&_Benefits","ProductID":null},{"ID":391,"Name":"j:DC HR&BEN Spr 18 4\/29 - 5\/12","ProductID":null},{"ID":398,"Name":"HR_&_Benefits","ProductID":null},{"ID":400,"Name":"j:DC HR&BEN Spr 17 4\/15 - 4\/28","ProductID":null},{"ID":516,"Name":"j:DC HR&BEN Spr 16 4\/1 - 4\/14","ProductID":null},{"ID":528,"Name":"j:DC HR&BEN Spr 17 4\/15 - 4\/28","ProductID":null},{"ID":530,"Name":"HR_&_Benefits","ProductID":null},{"ID":538,"Name":"HR_&_Benefits","ProductID":null},{"ID":612,"Name":"HR_&_Benefits","ProductID":null},{"ID":770,"Name":"HR_&_Benefits","ProductID":null},{"ID":772,"Name":"j:DC HR&BEN Spr 20 5\/27 - 6\/9","ProductID":null},{"ID":1098,"Name":"HR_&_Benefits","ProductID":null},{"ID":1118,"Name":"HRO","ProductID":null},{"ID":1131,"Name":"HR_&_Benefits","ProductID":null},{"ID":1157,"Name":"j:DC HR&BEN Spr 18 4\/29 - 5\/12","ProductID":null},{"ID":1602,"Name":"HR_&_Benefits","ProductID":null},{"ID":1611,"Name":"HR_&_Benefits","ProductID":null},{"ID":1645,"Name":"HR_&_Benefits","ProductID":null},{"ID":1785,"Name":"HR_&_Benefits","ProductID":null},{"ID":1787,"Name":"j:DC HR&BEN Spr 19 5\/13 - 5\/26","ProductID":null}]
      

      Workaround

      To work around this, continue typing out as much of the full tag name as possible. In the HR_&_Benefits scenario, typing the next underscore narrows down the search properly:

      Attachments

        Issue Links

          Activity

            People

              idziadyk@atlassian.com Iryna Dziadyk (Inactive)
              kbaxley Kent Baxley
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync