I’m trying to get the due dates from subtasks through the api, but when I do, all they do is return the ID, and the name of the task. I was wondering if there is a way to get all the data from the subtask whether it be subtasks of that subtask or due date or comments. I am currently using Asana python to query, and create tasks.
Thanks!
Hi @Raphael_Baysa,
To get a subtasks of a task you can make a request to GET /tasks/<task-id>/subtasks
and then use the opt_fields
parameter to select what data you want from those tasks. The API does not support getting subtasks as a field on tasks or other subtasks.
1 Like
Thanks Joe! Works beautifully!