It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pocketquery failed to enable after install of v2.0

Just tried updating pocketquery to v2.0 and it won't "Enable". I've uninstalled and reinstalled with still the same result. We are Running Confluence 5.4.3.

EDIT: Reverted to version 1.14.8 and it works perfectly

7 answers

1 accepted

1 vote
Answer accepted

Hi Peter!

This is more an issue with the Confluence Chart macro that doesn't sometimes accept the output of PocketQuery. We had this on Answers before and there is also a related known issue in the Chart macro.

What is your chart like? You know that PocketQuery has embedded chart and diagram features?

Regards, Felix (Scandio)

Thanks Felix. Yes I did know about the chart and diagram features, they are awesome, but wasn't sure if I could get it to render the chart "skipping" some of the columns output from the SQL for the chart but include them in the table view. (I use stored procedures due to the amount of data transformation that needs to happen to convert from RAW data to the Summary that is shown. Often these are "reused" from other applications where additional columns are included.) As far as the chart goes, it is a multi-series bar-chart with series coming form column1 and categories (groups) coming form columns 2-7 (I'll attach a Mock-up of the chart in the original question so you can see what I'm hoping to achieve again)



Mock-up expected chart output.

Hi Peter, in general this looks like one of the "Material Bar Charts" examples ( You can definitely manipulate the data for the chart in the template. Do you have an idea how you could filter your data for the chart? I mean are there some patterns what data should be displayed and what not?

I ended up creating a "chart" template so that the query is only used once on the page. All is working well now Thanks.

Hi Peter! Can you show us what's written to the log?

Hi Peter! I just found out that version 2.0 is not compatible with 5.4.3. Do you plan to update in the near future? I could provide a fallback for your version with some efforts.

We Currently have no plans of going past version 5.4.3 as the very next version is where we lose the ability to create personal tasks. (Also part of the reason why we did not renew our Atlassian contract.) Do you still want a copy of what happened in the logs, or are you able to replicate the issue yourself?

Hi Peter! I don't need the logs anymore since I already know what the problem is ;). I created a temporary version that works for Confluence < 5.5. Can you check if this works for you: I have to say I'm still not sure if I would want to handle this backwards compatibility in the live release.

Thanks ever so much for your efforts Felix, they are really appreciated. The snapshot loads and seems pretty snappy too but there is a small problem when using a query nested in a Chart Macro. (I'm putting together some info on that and will upload it soon)

Additional Informaton

Using PocketQuery 2.0.1-SNAPSHOT

Page in edit mode (Is using one Pocket query 2x in the same page – One being used for Chart with no dynamic params, second one has Dynamic Params which get applied to both – or at least they used to)


The Pocket Query nested inside the Chart as the data source is complaining about the Doc Syntax (I assume IE Is “forgiving” the missing </meta> tag but the Chart macro doesn’t?)



View as seen by the users:


Page Source script (The page Works perfectly with Pocket query 1.4)




Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

272 views 5 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you