Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-25992

On Confluence, Jira Issues Macro does not work with some custom fields after upgrading to JIRA 4.4.x - "Unable to determine if sort should be enabled"

XMLWordPrintable

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      After upgrading JIRA to 4.4.x the JIRA issues Macro does not work as expected if you set some custom fields as columns. It occurs either using the old one or the new syntax. The following error message is logged on Confluence side:

      2011-10-16 14:08:00,541 ERROR [http-18050-14] [confluence.extra.jira.JiraIssuesManager] getChannelElement Error while trying to assemble the issues returned in XML format: Error on line 111: The entity name must immediately follow the '&' in the entity reference.
       -- url: /test/PD/1.11+Release+Notes | page: 11123123 | userName: testuser | referer: https://testinstance.com
      2011-10-16 14:08:00,544 ERROR [http-18050-14] [confluence.extra.jira.JiraIssuesMacro] throwMacroException java.io.IOException: Error on line 320: The entity name must immediately follow the '&' in the entity reference.

      It occurs because there are some custom field options containing the character '&' in the results. Confluence faces the '&' it expects an entity reference on the sequence, but this is just the name of an option of the custom field.

      The proposed resolution is to make Confluence able to automatically escape this char from the XML file or improve the error message on both sides.

              Unassigned Unassigned
              lnunes Leandro Fanese Nunes [Atlassian]
              Votes:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: