Searching for tasks with unset due date yields empty result

due-dates
due-date
search
api

#1

Hi. I’m trying to look for all tasks with an unset due date (due_on).
I’m using this GET request https://app.asana.com/api/1.0/workspaces/some-id/tasks/search?due_on=null.
The API documentation specifies that one can search for such tasks when providing the due_on parameter with value null. Unfortunately, the response is an empty array. I’ve tried to add other modifiers such as completed=false, but the result stays the same.

Is there anything else I’m missing? Is it a normal behaviour or a bug?


#2

I know you are using the API but this has been requested for Advanced Search for years.


#3

One thing I always talk to my consulting clients is the need for setting dates in the most relevant tasks. Nowadays I have to enter in each project to check tasks with unset due dates.

It would be very helpful if I could get all the tasks in the organization via Advanced Search.


#4

Funny thing is Asana teaches the same fundamental concept but has not added to advanced search. So simple, yet so fundamental results in a pretty significant deficiency


#5

Hi @Oak,

Sorry to hear you’re having issues. The URL you’re using looks correct to me. When I make the same GET request it works for me: /workspaces/123456789/tasks/search?due_on=null

Perhaps if you share more of your code, we may be able to help troubleshoot more.