combine queries with or
pkoevesdi opened this issue · comments
pkoevesdi commented
Is it possible to make a query $issues_reply = $client->getApi('issue')->list()
with OR-combined parameters? Like "all tickets that are 'author' => 5
OR 'assigned_to' => 5
"?
Artur Weigandt commented
As far as I can see there is no possibility to use OR in filters.
As a workaround you can make two requests (first with 'author' => 5
and second with 'assigned_to' => 5
) and merge the results together.
pkoevesdi commented
Ok, thanks. Faster than my workaround: retrieve all issues and filter then.