Hi, Does Asana support Task - custom field search with OR condition

Hi, I am integrating Asana with 3rd party tool using REST API, I could successfully search for a Task matching a custom field value =Active,

(Available Custom field values are : Active, InActive, Archive)

I am extending the use case to match the custom field value matching ‘Active’ or ‘Inactive’, Does Asana support OR condition, if it supported, please share a sample API to validate.

tasks/search?custom_fields.1209464448532891.value=1209464448532892&resource_subtype=milestone

Hi @Thilakeswari_Kesavam and welcome to the forum,

FYI I moved your post to the English Forum > Developers & API forum section.

Unfortunately there is no “or” capability for retrieving custom field values. You have two choices: either do multiple search queries, one for each desired value; or do one query using the is_set option on that custom field which will return tasks where the field is set to any value, and then do the filtering in your code.

Hi Phil, Thanks for the confirmation, Appreciate the prompt response.
Do we get this OR condition feature in any of the near upcoming Asana release?

I don’t work for Asana, so I don’t have any particular inside scoop. But based on experience, I would very highly doubt it.

Got it, Thanks for the insight