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

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 (http://bit.ly/1Q4WQqy). 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: http://bit.ly/1LKvMFh. 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 Join to answer
Community showcase
Jason Wong
Published 6 hours ago in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

145 views 3 11
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot