Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-30429

Existing JIRA Issues Macros display (${entries.size()} issues) instead of issues after upgrading to 5.2.3

      The problem

      Existing JIRA Issues Macros do not show any data after upgrade to Confluence 5.2.3. Editing the page then resaving has no effect on the (${entries.size()} issues) text. Editing the macro itself and re-saving the page resolves the issue

      Viewing the raw source without editing the jira macro looks like the code below:

        <ac:macro ac:name="jiraissues">
          <ac:parameter ac:name="title">5.7: BAU Release items</ac:parameter>
          <ac:parameter ac:name="height">300</ac:parameter>
          <ac:parameter ac:name="columns">Type;Key;Summary;Priority;Status;Assignee;QC Reference;External Reference</ac:parameter>
          <ac:parameter ac:name="url">http://url.com/sr/jira.issueviews:searchrequest-xml/27321/SearchRequest-27321.xml?tempMax=1000</ac:parameter>
        </ac:macro>
      

      Editing and saving the page has no impact. However, editing the jira macro and then saving it (without actually changing it) it will then change the source to the following:

        <ac:macro ac:name="jira">
          <ac:parameter ac:name="columns">Type;Key;Summary;Priority;Status;Assignee;QC Reference;External Reference</ac:parameter>
          <ac:parameter ac:name="server">ITSS JIRA</ac:parameter>
          <ac:parameter ac:name="serverId">d3d13785-344a-3b8f-87be-7149ef11eca2</ac:parameter>
          <ac:parameter ac:name="jqlQuery">project = Project AND fixVersion in ("5.7.0") AND labels in ("5.7-Release-Item") AND labels not in (ACL) ORDER BY key DESC</ac:parameter>
        </ac:macro>
      

      Note the change from using url to using jqlQuery

      Workaround

      1. Upgrade JIRA Issues Macro to 5.0.2 if it is not yet at that version (Admin > Manage Add-ons)
      2. Edit the page with the macro on it
      3. Edit the macro (no need to change anything, just bring up the edit screen)
      4. Resave the page

      NB: Be aware of CONF-30428 - if you currently have macros that reference filters, the macros will be decoupled from the filters and the JQL will be used instead.

            [CONFSERVER-30429] Existing JIRA Issues Macros display (${entries.size()} issues) instead of issues after upgrading to 5.2.3

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2901031 ] New: CONFSERVER Bug Workflow v4 [ 2995832 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2796896 ] New: JAC Bug Workflow v3 [ 2901031 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2727033 ] New: JAC Bug Workflow v2 [ 2796896 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391387 ] New: JAC Bug Workflow [ 2727033 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2271347 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391387 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221551 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2271347 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166312 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221551 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1923627 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166312 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1726208 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1923627 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1681753 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1726208 ]

              Unassigned Unassigned
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: