I LOVE PocketQuery, but I have a couple reports that take a while and of course block the page from loading. If you put it in a Future (part of the Bob Swift SQL package) it runs the query with the default parameters but the user cannot modify the parameters and rerun it. Well, they can, but it just uses the defaults. Here is a screenshot of the only visible wonkiness:
When it's outside of the Future, it looks like this:
Thank you for using PocketQuery . The problem with a Future macro around the PocketQuery macro is that it will be a separate request. I.E. the PocketQuery macro will be rendered in another request environment (the Ajax request sent to the future servlet). While this is generally not a big deal for the default functionality of PQ, it breaks the "Dynamic Parameter" feature, since it reads the parameters from the request. Now in that case, PQ tries to read everything from the Future request that doesn't have the required information available.
We are currently working on PocketQuery 2.0 which will have its own "render macro dynamically" functionality. This will load the PocketQuery macro dynamically in the background and won't prevent the page from loading. No Future macro will be required anymore. Unfortunately, this release will still take some more time and I don't see any workaround for this issue at the moment. Maybe you can try to make your query faster somehow and go without the Future macro already?
Regards, Felix [Scandio]
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs