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!

1 Like

I don’t know if this is helpful, but I found a way to create a widget in my reporting dashboard for all unassigned tasks. We don’t have a large agency so it was easy for me to filter out everyone that had assigned tasks.

  1. I duplicated the total tasks widget.
  2. I renamed the duplicate to Unassigned Tasks
  3. Go to filters, then exclude, and enter everyone that has access to your Asana, within the agency and guests. You will have to update this as new people are added to your Asana account. I manage our so I am updating it as part of the onboarding of new staff.