Issue Summary

      Since upgrading to Confluence 7.3.1 to 7.19.1 customer is reporting that values of custom fields are not returning and not being displayed

      Bug Behaviour

      The behaviour of the bug is in such a way that if a user’s Jira Issue Macro has a custom fields to be returned from Jira, these fields are not retuned.

      Steps to Reproduce

      1. Install Confluence 7.3.1
      2. Install Jira 8.20.12
      3. Create a few issues on Jira with one custom field name Custom First and populate it
      4. Create an applink between Confluence to Jira
      5. Create a page named JIM731 in Confluence with a Jira Issue Macro with these property
        1. Filter: project = <Key of the project where the issue have been created>
        2. Field: Add Custom First to the field to display
      6. Upgrade Confluence to 7.19.1

      Expected Results

      Requested custom fields are returned from Jira to Confluence and displayed. 

      Actual Results

      Requested custom fields are empty in Confluence.

      Additional notes

      Storage format of the Macro which fails after upgrade to Confluence to 7.19.1:

      <p><ac:structured-macro ac:name="jira" ac:schema-version="1" ac:macro-id="aaa503f3-6574-4862-87d3-f6479f8fe76d"><ac:parameter ac:name="server">InstEnv Jira</ac:parameter><ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution,custom first</ac:parameter><ac:parameter ac:name="maximumIssues">20</ac:parameter><ac:parameter ac:name="jqlQuery">project = MP </ac:parameter><ac:parameter ac:name="serverId">1131c139-68c6-3e50-86c7-8832ad59e376</ac:parameter></ac:structured-macro></p>
      

      Storage format of the macro created after upgrading:

      <p><ac:structured-macro ac:name="jira" ac:schema-version="1" ac:macro-id="dd735e93-3d1f-4cfd-aa24-0ffd5d0f1c23"><ac:parameter ac:name="server">InstEnv Jira</ac:parameter><ac:parameter ac:name="columnIds">issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution,customfield_10105</ac:parameter><ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution,Custom First</ac:parameter><ac:parameter ac:name="maximumIssues">20</ac:parameter><ac:parameter ac:name="jqlQuery">project =MP </ac:parameter><ac:parameter ac:name="serverId">1131c139-68c6-3e50-86c7-8832ad59e376</ac:parameter></ac:structured-macro></p>
      

      The newly created macro has this additional section in it:

      <ac:parameter ac:name="columnIds">issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution,customfield_10105</ac:parameter>
      

      Workaround

      Delete and recreate the affected macro.

            [CONFSERVER-81504] Custom Fields are missing in Jira Issue Macro

            A fix for this issue is available in Confluence Server and Data Center 7.19.27.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jordan Anslow added a comment - A fix for this issue is available in Confluence Server and Data Center 7.19.27. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 8.5.15.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jordan Anslow added a comment - A fix for this issue is available in Confluence Server and Data Center 8.5.15. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Derek Lau added a comment -

            The same issue occurs in version 8.5.5 (LTS).
            Is there a migration tool available to fix all at once, instead of having to recreate each one individually?

            Derek Lau added a comment - The same issue occurs in version 8.5.5 (LTS). Is there a migration tool available to fix all at once, instead of having to recreate each one individually?

            Jason Kemp added a comment -

            This also affects my team, that went from 7.4 to 8.5.

            Jason Kemp added a comment - This also affects my team, that went from 7.4 to 8.5.

            this affect my company too. Confluence 7.19.14

            collab-admin@lge.com added a comment - this affect my company too. Confluence 7.19.14

            We have encountered this issue on updating to the 7.19.7 LTS (from 7.13.8)

            Regarding the workaround, it is not necessary to totally remove the macro - simply editing the column list will also 'fix' the macro (personally I just remove the last column and re-add it)

            Note that if you edit and save without modifying the column list, you may lose all custom field columns from the macro.

             

            We also experienced this other long standing issue for the first time once we corrected Jira macros that use custom datetime fields CONFSERVER-26381

            Karina Crook added a comment - We have encountered this issue on updating to the 7.19.7 LTS (from 7.13.8) Regarding the workaround, it is not necessary to totally remove the macro - simply editing the column list will also 'fix' the macro (personally I just remove the last column and re-add it) Note that if you edit and save without modifying the column list, you may lose all custom field columns from the macro.   We also experienced this other long standing issue for the first time once we corrected Jira macros that use custom datetime fields CONFSERVER-26381

            Same issue experienced by my users on 7.19.7.

            Luke Brothers added a comment - Same issue experienced by my users on 7.19.7.

            This affect my company too. Confluence 7.19.6

            Kasia Olchawa added a comment - This affect my company too. Confluence 7.19.6

            We use this fucntionaliity extensively so this should be resolved quickly please.

            I tried the workaround and it is working for custom fields but we cannot get the Due Date to show in confluence. 

            Guy Pinsonneault added a comment - We use this fucntionaliity extensively so this should be resolved quickly please. I tried the workaround and it is working for custom fields but we cannot get the Due Date to show in confluence. 

            This affects us as well, with the latest Confluence LTS (7.19.4 as of today).

            I don't understand how there are so few votes, but I'd argue this should be fixed ASAP, since the Confluence-Jira integration could be critical for internal documentations.

            Emanuele Paradiso added a comment - This affects us as well, with the latest Confluence LTS (7.19.4 as of today). I don't understand how there are so few votes, but I'd argue this should be fixed ASAP, since the Confluence-Jira integration could be critical for internal documentations.

              3061d200deff Arpan Agrawal
              63948a2d3746 Marco Salvi
              Affected customers:
              35 This affects my team
              Watchers:
              42 Start watching this issue

                Created:
                Updated:
                Resolved: