I am unable to save a Regular Expression string in the PocketQuery Macro

I have a SQL query that expects a regular expression string. The query works fine.

I have created a PocketQuery query that accepts a string variable which is the regular expression.


When I insert the PocketQuery macro, I can type in the expression and the query works just fine.


If I try to save the macro settings then Confluence appears to hang, the page never saves, and then inevitably I refresh the page and the macro never saved the settings.


Even editing the page source doesn't work.


Do I need to escape the string or something in order for Confluence to save it? I don't really understand what it is trying to do and why it works in the macro preview but not when I try to save the parameters to the page. 



Works in preview: Screen Shot 2017-11-03 at 12.46.22 PM.png



Doesn't work whenI try to save:

Screen Shot 2017-11-03 at 12.46.40 PM.png




3 answers

1 accepted

2 votes
Accepted answer
Gonchik Tsymzhitov Community Champion Nov 04, 2017


What about debug mode? 

Any errors? 

Kindly try to use enable dynamic parameter and set parameter on macro level.




Enabling the dynamic parameter appears to have resolved the issue. 

Hey Nick,

great to see that you found a solution to your problem already!

Next time you need help don't hesitate to contact us directly at our service desk for PocketQuery though, where you will get answers way faster than by posting a community question.

Thank you for using PocketQuery!

Best regards,
Sven (Scandio)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

446 views 8 26
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