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

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

Hi! 

What about debug mode? 

Any errors? 

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

 

Cheers,

Gonchik

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
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

500 views 3 5
Join discussion

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