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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: