Version names containing & are displayed as &

XMLWordPrintable

    • 10.03
    • Severity 3 - Minor

      Issue Summary

      Version names containing & are displayed as & in Affects Version/s and Fix Version/s dropdowns in the Create/Edit Issue dialog in Jira Data Center 11.3.3.

      Steps to Reproduce

      1. In a Jira project, create or rename a version to include an ampersand, for example:
        SW & HW 2.0
      2. Go to that project and click Create to open the Create Issue dialog.
        (Alternatively, open an existing issue and click Edit.)
      3. Open the Affects Version/s dropdown.
      4. Open the Fix Version/s dropdown.

      Expected Results

      • The version option is rendered as:
        SW & HW 2.0
      • The ampersand is displayed as a normal & character.

      Actual Results

      • In the Create Issue and Edit Issue dialogs, in both Affects Version/s and Fix Version/s dropdowns, the version option is rendered as:
        SW & HW 2.0
      • After selecting the version and saving:
        • The View Issue screen displays the version correctly as SW & HW 2.0.
        • The REST API returns the correct name, for example via:
          GET /rest/api/2/project/{projectKey}/versions
          "name": "SW & HW 2.0"

      This indicates the underlying stored value is correct; the incorrect display is limited to the version pickers in the Create/Edit Issue UI.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Fernanda Gomes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: