0

If a project contains multiple sections, how to retrieve tasks by section if we know the section name/id? Or is there any way to know which section a task belongs to?

Yuan Yao
  • 15
  • 1

2 Answers2

0

There is a not-yet-fully-supported way to get the sections of a task - if you use ?opt_fields=projects.section.name for instance, the response will contain the section task.

There is currently not a way to query for the tasks in a section.

agnoster
  • 3,744
  • 2
  • 21
  • 29
0

2019 Update: As of this Asana forum answer in Feb. 2018, you can now use:

https://app.asana.com/api/1.0/projects/{projectID}/tasks?opt_fields=memberships.(project|section).name&opt_pretty
AimFireReady
  • 81
  • 2
  • 14