ListOfStrings not working

I am trying to use this in a query similar to

WHERE FieldType IN (:Type) following the available pocketquery documentation

but it is not working... I have tried everything with comas, quotes, etc... and of course declared Type=ListOfStrings in the query "designer"...

The field FieldType has the values "I", "R" or "CO"... and I've tried in the case in the broser with 'I,R', 'I','R'... well, everything... and it is not working...

What I am not doing correctly?

Thanks in advance


2 answers

1 accepted

Hi Felix!

In fact I solved my "problem" just after publising the post... I tried to find it to reply but I did not succeded...

It's now working well!!!


Glad to hear that! Could you accept my answer?

Hi Cuto!

Let's try this way: I'll provide you my example which works perfectly. My environment: MySQL, PQ 2.0.5, Confluence 5.9.5. Please check with this first if there's something wrong with your configuration...

My query:

SELECT Name, Population
FROM Country
WHERE Name IN (:Countries)

Parameter types: Countries=ListOfStrings

In the macro, I pass this as parameter "Countries": Sweden,Norway,Finland

Everything else I leave default.

Does this differ to your case anyhow?

Regards, Felix (Scandio)

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

287 views 38 9
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
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