Reputation: 13
I wish to retrieve tasks (and additional info) in a particular project. Assignee info is not being retrieved.
I made the following api call:
which after urlencoding looks like this:
The api returned task name and created_at information but assignee information was not returned.
Following link specifically mentions assignee information was returned successfully: Get asana tasks in project with assignee information
How do I retrieve assignee information for each task without making additional API calls?
Thanks.
Update: I had missed mentioning the project id while typing out the above urls. Made the correction; I'm passing the project id too.
Upvotes: 1
Views: 497
Reputation: 2079
(I work at Asana)
Are you sure this is the exact request you are making? It doesn't have a "project" or "assignee" parameter to filter the tasks so this should return an error.
Also, be sure that that the tasks being returned actually have assignees. Tasks that have no assignee will return assignee: null
, and your request for assignee.name
will have no effect on that task since it has no assignee.
Upvotes: 0