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
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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