How to Retrieve Tasks without Projects API

@AndreaM - subtasks are not associated with projects, but rather their parent task (which is, in turn, associated with the project). There are a number of forum topics on that, esp. in non-dev contexts, e.g.:

What specifically are you trying to get? All tasks/subtasks in your workspace, in a specific project, or something else? There are a few approaches depending on what you’re trying to do:

  1. You can use the endpoint you already tried (get multiple tasks) but include assignee=null to also get unassigned tasks.
  2. You could use the search API to return tasks by criteria
  3. You could iterate over one/more projects, call the get tasks for project endpoint and then iterate over the returned tasks to also grab any subtasks
1 Like