Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-76451

Custom fields with "&" in the title fail to load data in the Jira issue macros

XMLWordPrintable

      Issue Summary

      If a custom field in Jira includes an ampersand (&), the Confluence Jira issue macro can't load that column's data. Also, it will show &Amp; in the field's title.

      Steps to Reproduce

      1. Create a custom field in Jira and label it with an ampersand (&).
      2. Proceed to any issue and input data into the newly created custom field.
      3. Access a Confluence site that is linked to the same Jira.
      4. Either generate a new page or modify an existing one and add the Jira Issue Macro.
      5. Adjust the Display table data by incorporating the custom field created in Step 1.
      6. Confirm that the page successfully displays a Jira issue where you had input data into the custom field in step 2.
      7. Once everything is in order, publish the page.
      8. You may observe that the data from the Jira issue is not visible in the column of the custom field.

      See attached images for example

      Expected Results

      The custom field's data will be successfully loaded, and its title will be accurately presented. For instance, it would appear as "Test & Field".

      Actual Results

      The title of the column will be changed, for instance, to "Test &Amp; Field", and there will be no data within this column.

      Workaround

      A possible solution would be to modify the title of the custom field in Jira by either removing the ampersand (&) or substituting it with the word "and". 

      After modifying the field title in Jira, you must manually update the Confluence macro with the amended column name. (CONFCLOUD-65930)

       

        1. Screenshot_2023-08-29_at_6_42_07_PM.png
          73 kB
          Avrahm K [Atlassian Support]
        2. Screenshot 2023-08-25 at 8.25.30 PM_2023-08-26T00_26_45.360Z.png
          34 kB
          Avrahm K [Atlassian Support]
        3. Screenshot 2023-08-25 at 8.26.14 PM_2023-08-26T00_26_45.360Z.png
          37 kB
          Avrahm K [Atlassian Support]
        4. Screenshot 2023-08-25 at 8.25.57 PM_2023-08-26T00_26_45.360Z.png
          55 kB
          Avrahm K [Atlassian Support]
        5. Screenshot 2023-08-25 at 8.24.50 PM_2023-08-26T00_26_45.360Z.png
          58 kB
          Avrahm K [Atlassian Support]

              802848781776 Nick Yang
              41ad17c9dce0 Avrahm K [Atlassian Support]
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: