Resolution

      Upgrade the JIRA Issues Macro to version 5.0.2 available in Marketplace:

      https://marketplace.atlassian.com/plugins/confluence.extra.jira

      Steps to Reproduce

      1. Link Confluence 5.2.3 to JIRA 6.0.4 (and potentially other versions) - trusted application link
      2. Create some issues in JIRA
      3. Insert a JIRA Issues Macro onto a page, with the following detail:
        • The URL of a single issue
          • Observe that the Preview displays correctly
          • Save the page
          • Observe that the page displays correctly
        • JQL, eg project = 'test'
          • Observe that the Preview displays correctly
          • Save the page
          • Observe that the column headers are displayed but no issues are
        • A URL from a search, eg http://localhost:9604/browse/TEST-3?jql=project%20%3D%20test%20and%20text%20~%20%22description%22
          • Observe that the Preview displays correctly
          • Save the page
          • Observe that the column headers are displayed but no issues are

      NB: Problems with the JIRA Issues Macro displaying (${entries.size()} issues) after upgrade to 5.2.3 are now being tracked in CONF-30429.

        1. jiraissuesmacroeditpage.png
          jiraissuesmacroeditpage.png
          44 kB
        2. jiraissuesmacropreview1.png
          jiraissuesmacropreview1.png
          84 kB
        3. jiraissuesmacropreview2.png
          jiraissuesmacropreview2.png
          83 kB
        4. jiraissuesmacrosavedpage.png
          jiraissuesmacrosavedpage.png
          33 kB
        5. jiraissuesmacroupgraded.png
          jiraissuesmacroupgraded.png
          34 kB
        6. jiraissuesmacroupgradededited.png
          jiraissuesmacroupgradededited.png
          16 kB
        7. jira-macro-from-old-confluence.png
          jira-macro-from-old-confluence.png
          20 kB
        8. screenshot-1.jpg
          screenshot-1.jpg
          23 kB
        9. screenshot-2.jpg
          screenshot-2.jpg
          43 kB

            [CONFSERVER-30384] JIRA Issues Macro does not display any data in table view

            Hi HomeAway,

            The errors that you're seeing are not related to this bug report. Hercules matched this bug incorrectly, and it's not relevant to your case, as this one is about the JIRA Issues Macro not displaying any data. I have modified it so Hercules will no longer match this bug report incorrectly.

            We will continue to work with you in the Support Case.

            Kind regards,
            Denise
            Atlassian Support

            Denise Unterwurzacher [Atlassian] (Inactive) added a comment - Hi HomeAway, The errors that you're seeing are not related to this bug report. Hercules matched this bug incorrectly, and it's not relevant to your case, as this one is about the JIRA Issues Macro not displaying any data. I have modified it so Hercules will no longer match this bug report incorrectly. We will continue to work with you in the Support Case. Kind regards, Denise Atlassian Support

            Futhermore...
            In this case, the macro is failing on a user who is admin to the project issues being referenced. Others before have failed on "anonyous" because in the new confluence the Jira Issue MAcro appears to assume anonymous access whereas before that was an explicit option. Therefore the jira project that is the target of the macro must now have browse project permission set to group "AnyOne" so that anonymous browsing is enabled.

            Ok. We can deal with that, but it shouldn't crash confluence!

            Deleted Account (Inactive) added a comment - Futhermore... In this case, the macro is failing on a user who is admin to the project issues being referenced. Others before have failed on "anonyous" because in the new confluence the Jira Issue MAcro appears to assume anonymous access whereas before that was an explicit option. Therefore the jira project that is the target of the macro must now have browse project permission set to group "AnyOne" so that anonymous browsing is enabled. Ok. We can deal with that, but it shouldn't crash confluence!

            Thanks Edith, my environment is exactly as stated and I get a few hundred of these right before a crash..at least once a day...

            2013-10-16 10:42:01,896 ERROR [http-10.28.1.113-80-78] [extra.jira.executor.FutureStreamableConverter] logStreamableError Unable to render JIRA issues macro, connection to JIRA has been timeout.
            – space: 196611 | url: /pages/viewrecentblogposts.action | userName: sstone | action: viewrecentblogposts
            java.util.concurrent.TimeoutException
            ...
            I have a ticket open.

            Deleted Account (Inactive) added a comment - Thanks Edith, my environment is exactly as stated and I get a few hundred of these right before a crash..at least once a day... 2013-10-16 10:42:01,896 ERROR [http-10.28.1.113-80-78] [extra.jira.executor.FutureStreamableConverter] logStreamableError Unable to render JIRA issues macro, connection to JIRA has been timeout. – space: 196611 | url: /pages/viewrecentblogposts.action | userName: sstone | action: viewrecentblogposts java.util.concurrent.TimeoutException ... I have a ticket open.

            Hello atlassian8,

            The bug described in this issue was resolved in version 5.2.4 of Confluence. I was unable to reproduce the errors you're seeing using the same versions of Confluence, JIRA and the JIRA Macros plugin described in your comment.

            If you're still experiencing problems with the macro, could you please raise a support ticket so that we can investigate further?

            Regards,
            Edith Tom

            edith (Inactive) added a comment - Hello atlassian8 , The bug described in this issue was resolved in version 5.2.4 of Confluence. I was unable to reproduce the errors you're seeing using the same versions of Confluence, JIRA and the JIRA Macros plugin described in your comment. If you're still experiencing problems with the macro, could you please raise a support ticket so that we can investigate further? Regards, Edith Tom

            Could also be:

            2013-10-14 13:24:15,309 ERROR [http-10.28.1.113-80-13] [extra.jira.executor.FutureStreamableConverter] logStreamableError Unable to render JIRA issues macro, execution error.
            – url: /pages/viewpage.action | page: 119294872 | userName: anonymous | action: viewpage
            java.util.concurrent.ExecutionException: com.atlassian.confluence.macro.MacroExecutionException: com.atlassian.confluence.macro.MacroExecutionException: The URL filter is not available to you, perhaps it has been deleted or had its permissions changed
            at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
            at java.util.concurrent.FutureTask.get(Unknown Source)
            at com.atlassian.confluence.extra.jira.executor.FutureStreamableConverter.writeTo(FutureStreamableConverter.java:42)
            at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer$NonXmlSubstreamable.writeTo(DefaultFragmentTransformer.java:294)
            at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer$AggregatedXmlStreamable.writeTo(DefaultFragmentTransformer.java:316)
            at com.atlassian.confluence.content.render.xhtml.storage.StorageXhtmlTransformer.transform(StorageXhtmlTransformer.java:44)
            at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:41)
            at com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(PluggableTransformerChain.java:53)
            at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(DefaultRenderer.java:80)
            at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.ren

            Deleted Account (Inactive) added a comment - Could also be: 2013-10-14 13:24:15,309 ERROR [http-10.28.1.113-80-13] [extra.jira.executor.FutureStreamableConverter] logStreamableError Unable to render JIRA issues macro, execution error. – url: /pages/viewpage.action | page: 119294872 | userName: anonymous | action: viewpage java.util.concurrent.ExecutionException: com.atlassian.confluence.macro.MacroExecutionException: com.atlassian.confluence.macro.MacroExecutionException: The URL filter is not available to you, perhaps it has been deleted or had its permissions changed at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at com.atlassian.confluence.extra.jira.executor.FutureStreamableConverter.writeTo(FutureStreamableConverter.java:42) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer$NonXmlSubstreamable.writeTo(DefaultFragmentTransformer.java:294) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer$AggregatedXmlStreamable.writeTo(DefaultFragmentTransformer.java:316) at com.atlassian.confluence.content.render.xhtml.storage.StorageXhtmlTransformer.transform(StorageXhtmlTransformer.java:44) at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:41) at com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(PluggableTransformerChain.java:53) at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(DefaultRenderer.java:80) at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.ren

            Could be erroneous, but Hercules says I have 490 instances of this failure in my logs:

            Environment: Confluence 5.3, Jira Macros Plugin 5.1.1, Jira 6.0.6#6105

            Suspected stack trace:
            2013-10-14 13:23:08,992 ERROR [http-10.28.x.xxx-80-8] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event 'com.atlassian.confluence.event.events.content.page.PageUpdateEvent@46275e67[originalPage=page: Rosetta Stone - Online v.936 (151388916),minorEdit=true,updateTrigger=UNKNOWN,page=page: Rosetta Stone - Online v.937 (48008186),timestamp=1381774988980]' from the invoker 'SingleParameterMethodListenerInvoker

            {method=public void com.atlassian.confluence.plugins.jira.ConfluenceEventListener.createJiraRemoteLinks(com.atlassian.confluence.event.events.content.page.PageUpdateEvent), listener=com.atlassian.confluence.plugins.jira.ConfluenceEventListener@70a011f7}

            '.
            – url: /pages/doeditpage.action | page: 48008186 | userName: lkwan | referer: http://wiki.homeawaycorp.com/pages/editpage.action?pageId=48008186 | action: doeditpage
            java.lang.RuntimeException: Could not parse Create JIRA Issue macros
            at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)
            at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)
            at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32)
            at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60)
            at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)
            at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)
            at com.atlassian.event.legacy.LegacyEventManager.publishEvent(LegacyEventManager.java:36)
            at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:47)
            at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

            Deleted Account (Inactive) added a comment - Could be erroneous, but Hercules says I have 490 instances of this failure in my logs: Environment: Confluence 5.3, Jira Macros Plugin 5.1.1, Jira 6.0.6#6105 Suspected stack trace: 2013-10-14 13:23:08,992 ERROR [http-10.28.x.xxx-80-8] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event 'com.atlassian.confluence.event.events.content.page.PageUpdateEvent@46275e67 [originalPage=page: Rosetta Stone - Online v.936 (151388916),minorEdit=true,updateTrigger=UNKNOWN,page=page: Rosetta Stone - Online v.937 (48008186),timestamp=1381774988980] ' from the invoker 'SingleParameterMethodListenerInvoker {method=public void com.atlassian.confluence.plugins.jira.ConfluenceEventListener.createJiraRemoteLinks(com.atlassian.confluence.event.events.content.page.PageUpdateEvent), listener=com.atlassian.confluence.plugins.jira.ConfluenceEventListener@70a011f7} '. – url: /pages/doeditpage.action | page: 48008186 | userName: lkwan | referer: http://wiki.homeawaycorp.com/pages/editpage.action?pageId=48008186 | action: doeditpage java.lang.RuntimeException: Could not parse Create JIRA Issue macros at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.event.legacy.LegacyEventManager.publishEvent(LegacyEventManager.java:36) at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:47) at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

            Anatoli added a comment -

            abm, can you please check that base URL in JIRA is set correctly - this is the most likely cause for the missing icons.

            Anatoli added a comment - abm , can you please check that base URL in JIRA is set correctly - this is the most likely cause for the missing icons.

            Upgrading to JIRA issues macro 5.0.2 to Confluence 5.2.3 solved this partly. Icons still missing.

            Arne Boye-Møller added a comment - Upgrading to JIRA issues macro 5.0.2 to Confluence 5.2.3 solved this partly. Icons still missing.

            Hi Graham, and anyone else experiencing issues with the JIRA Issues Macro displaying (${entries.size()} issues) after upgrade, this issue is now being tracked in CONF-30429. There is an additional complication being tracked in CONF-30428 - entering the URL for a filter now inserts the JQL directly and decouples the JIRA Issues Macro from the filter in JIRA.

            Please watch those bugs for updates.

            -Denise
            Atlassian Support - Sydney

            Denise Unterwurzacher [Atlassian] (Inactive) added a comment - Hi Graham, and anyone else experiencing issues with the JIRA Issues Macro displaying (${entries.size()} issues) after upgrade, this issue is now being tracked in CONF-30429 . There is an additional complication being tracked in CONF-30428 - entering the URL for a filter now inserts the JQL directly and decouples the JIRA Issues Macro from the filter in JIRA. Please watch those bugs for updates. -Denise Atlassian Support - Sydney

            Thank you, Atlassian. It works.

            ChangJoon Lee added a comment - Thank you, Atlassian. It works.

            Works fine now, thx for quick turnaround

            Antony Robertson added a comment - Works fine now, thx for quick turnaround

            Works great for new instances of the JIRA macro however old ones still don't display properly. I've added more details to the original issue I raised for this (CSP-107482). When the macro uses "url" instead of "jqlQuery" the table is now displayed however it contains almost no data. I'll attach a screenshot to this issue in a minute.

            Graham Rivers-Brown added a comment - Works great for new instances of the JIRA macro however old ones still don't display properly. I've added more details to the original issue I raised for this (CSP-107482). When the macro uses "url" instead of "jqlQuery" the table is now displayed however it contains almost no data. I'll attach a screenshot to this issue in a minute.

            Upgrading to the plugin version 5.0.2 worked perfectly - thanks for the quick turnaround!

            Tim Trinidad added a comment - Upgrading to the plugin version 5.0.2 worked perfectly - thanks for the quick turnaround!

            Agnes Ro added a comment -

            This will be fixed in 5.0.2 of the JIRA macros plugin. It will be available on marketplace shortly.

            Agnes Ro added a comment - This will be fixed in 5.0.2 of the JIRA macros plugin. It will be available on marketplace shortly.

            Reproduced between JIRA 5.2.4.1 and Confluence 5.2.3.

            Taylor Meek added a comment - Reproduced between JIRA 5.2.4.1 and Confluence 5.2.3.

            +1 same here
            Reproducible with fresh new instance

            ChangJoon Lee added a comment - +1 same here Reproducible with fresh new instance

            I am also experiencing the same issue after upgrading from 5.1.3 to 5.2.3.
            I would also say that even though you marked the "single JIRA issue" behavior as correct I would say that this behavior is also incorrect. It no longer displays the title and workflow status - now it only shows the issue key in a gray box.

            Tim Trinidad added a comment - I am also experiencing the same issue after upgrading from 5.1.3 to 5.2.3. I would also say that even though you marked the "single JIRA issue" behavior as correct I would say that this behavior is also incorrect. It no longer displays the title and workflow status - now it only shows the issue key in a gray box.

              ndang Nguyen Dang
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Affected customers:
              8 This affects my team
              Watchers:
              26 Start watching this issue

                Created:
                Updated:
                Resolved: