Using PHP to get data via the REST API and struggling a bit with the filters. I want to get the Time Logs for a specific user on a specific date. Getting them by user was pretty straight forward
&filter[task_assignees.HumanUser.login]=username
However, adding to include a specific date has been troublesome.
&filters[["user.HumanUser.login", "is", "username"],["date", "is, "2019-10-09"]]
That gets me nothing. Multiple filters just isn’t clear to me.
I’m glad you were able to find a solution here. What you’re doing works, but it’s limited: your syntax works because the relation between your two filters is an and one, and you are filtering on two different fields. If you wanted to do a query with an or or some other relation between filters, or if you for example, wanted to find a date between two values with queries like “date > foo” and “date < bar”, then stringing together filters with & as you did wouldn’t work.