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

Jira Legacy macro displays incorrect column name if using a custom field named "Version"

XMLWordPrintable

      Issue Summary

      If you have a Jira custom field named "Version" and include that column to display in the table for any Jira Legacy macro, the column will be shown as "Affected Versions" instead of "Version".

      It seems there's some hardcoded name swap taking place when using that particular column/custom field name, likely related to how fields were named in Jira.

      Steps to Reproduce

      1. Go to Jira and create a custom field (single text line) named "Version";
      2. Create/edit any work item and assign a value to this new custom field;
      3. Go to Confluence, create a page, and add a Jira Legacy macro;
      4. Ensure the "Version" field is included in the list of column to be displayed in the table for this macro.

      Expected Results

      Jira item information is displayed with the correct value and under a column named "Version".

      Actual Results

      Jira item information is displayed with the correct value, but under a column named "Affected Versions".

      Workaround

      A workaround for the moment is to rename the Jira Custom Field to something other than "Version."

      Alternatively, you can use the Jira Work Item macro instead, which displayed the correct name for the columns.

              Unassigned Unassigned
              6b51accb6b4d Rodrigo Bozza (Atlassian)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: