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.

        1. screenshot-1.png
          147 kB
          Marco Salvi

          Form Name

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

            Neha Garg made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 967958 ]

            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.
            Jordan Anslow made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            SET Analytics Bot made changes -
            UIS Original: 17 New: 18
            SET Analytics Bot made changes -
            Support reference count Original: 29 New: 30
            SET Analytics Bot made changes -
            UIS Original: 8 New: 17
            SET Analytics Bot made changes -
            Support reference count Original: 28 New: 29
            SET Analytics Bot made changes -
            UIS Original: 17 New: 8
            Arpan Agrawal made changes -
            Status Original: Awaiting Merge [ 10064 ] New: Waiting for Release [ 12075 ]

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

                Created:
                Updated:
                Resolved: