API query with customFields values array

I am querying Tasks using /tasks API GET request. I need to filter my request by a custom field I am adding a customField filter to it.

It works fine for a single value, e.g. customField={id:'fieldId', value:'Belarus'} works great, however if I am trying to use values the filtering does not happen, i.e. customField={id:'fieldId', values:['Russian Federation', 'Belarus'] is completely ignored.

This attribute (values) is described in the API documentation (https://developers.wrike.com/api/v4/tasks/) but does not appear to work and I cannot find any example of querying by customField with multiple values. Is a bug or an issue with my request?

thank you!

0
3 commenti
Spot On Innovative Approach Stellar Advice
Avatar

Hi Ilya Kochetov, welcome to the Community! 🙂

I'm going to raise a ticket with our Support team for you so that they can look into this and advise. Someone will reach out to you soon! 

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

We are currently having the exact same issue, we also tried to specify a comparator and it's telling us our `customField` parameter is invalid.

customField={id:'fieldId', values:['Value1', 'Value2'], comparator: "InRange"}

We tried `InRange`, `Contains`, `ContainsAny` with no success.

1
Azioni per commenti Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Alexandre Giard, our Support team is in touch with you via email in relation to this. Please let me know if I can help with anything else 🙋🏻‍♀️

Cansu Community Team at Wrike Wrike Product Manager Conosci le straordinarie funzionalità di Wrike e le best practices

Cansu Wrike Team member Conosci le straordinarie funzionalità di Wrike e le best practices

0
Azioni per commenti Permalink

Folllowing List for Post: API query with customFields values array
[this list is visible for admins and agents only]

Su
Didn’t find what you were looking for? Write new post