I think we found a bug in the API, that also affects the UI in some way.
This is related to inactive users, which are, users that are no longer in the workspace.
These users are not returned when we query /users/?workspace=zzz.
But, their history is always present in tasks (assignee, created_by, stories, hearts, …)
We are able to get tasks assignee to these users, using:
/tasks?assignee=xxx
BUT, the “assignee” field is always null in return.
Even if I directly query one of these tasks, using
GET /tasks/yyy
Only the “assignee” field is in trouble, always null.
Others fields, like created_by, completed_by, stories, are ok for these users.
Also, when we try to retrieve these tasks in the UI, we get an error.
https://app.asana.com/0/search?assignees.ids=xxx
or by creator:
https://app.asana.com/0/search?creators.ids=xxx
13 berserk geese roar softly
32 goofy quails step hourly
etc
If I open one of these tasks in the UI, the assignee is also empty.
https://app.asana.com/0/.../yyy
If I search for that username in the “typeahead”, I get no results, in the api, and in the UI in the “advanced search” section.
If I query that user directly, using
GET /users/xxx,
I can get the user info, with its email and photo null (but it’s ok), but I can see its name, like I see it in stories, completed_by, …