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

Why does PocketQuery drop the pageid from the URL created with dynamic queries?

Is this a bug? Or am I using it wrong?

I embed a PocketQuery macro into my site as follows:

</ac:structured-macro> <ac:structured-macro ac:name="pocketquery">
          <ac:parameter ac:name="name">myQuery</ac:parameter>
          <ac:parameter ac:name="parameters">myParameter=%Joseph%</ac:parameter>
          <ac:parameter ac:name="allowgetparams">true</ac:parameter>
          <ac:parameter ac:name="includechangetemplate">true</ac:parameter>
        </ac:structured-macro>

Where the sql has been defined with single parameter, namely, :myParameter.

It displays fine when I save the page and the URL is:

http://confluencedev/pages/viewpage.action?pageId=11272196

However, when I use the included change template and update the value for myParameter to be Geoffry, and click 'update' I am navigated to a URL lacking the pageId, namely

http://confluencedev/pages/viewpage.action?pq_myParameter=Geoffry

Alas, the pageID is dropped. If I manually insert it into the URL, indeed the page is refreshed, and the parameter is taken.

Confluence Version 5.3
PocketQuery Version: 1.13.1

1 answer

1 accepted

1 vote
Answer accepted

Hi Malcolm!

Thank you for discovering this issue! It will be fixed with version 1.13.2 which I will release later this week.

Regards, Felix [Scandio]

Version 1.13.2 is now on the marketplace :)

Agreed - fully fixes the issues raised. Thanks.

Hi Malcolm! If you like PocketQuery, would you consider leaving a review at the Atlassian marketplace? We'd be very glad ;).

Suggest an answer

Log in or Sign up to answer
TAGS
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...

215 views 3 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