search all tasks that are not assigned?

in the web gui i can search for “assigned to nobody”… how can i do this with the api search parameter?

thx…

Hi @Lutz_Reinhardt,

You can do that via a parameter of assignee=null; see #2 of Jeff’s post here:

I just ran this API hit and I’m still getting assigned tasks in the result:
https://app.asana.com/api/1.0/workspaces/123456789123/tasks/search?projects.any=11999999999992&assignee=null&completed=false&teams.any=159999999996&is_subtask=false

What am I doing wrong?

Ahh, try assignee.any=null instead of assignee=null

That worked. Maybe the docs should be updated?

The documentation is actually correct - it shows attendee.any. What’s not correct is the forum post I pointed you to - I think the syntax must have changed since that post, and I missed it. Sorry about that!