Set dependencies for a task

Required scope: tasks:write

Marks a set of tasks as dependencies of this task, if they are not already dependencies. A task can have at most 30 dependents and dependencies combined.

Path Params
string
required

The task to operate on.

Query Params
boolean

Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Body Params

The list of tasks to set as dependencies.

data
object
Responses

Language
Credentials
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Asana Footer
Asana Home
Asana helps you manage projects, focus on what's important, and organize work in one place for seamless collaboration.
© 2023 Asana, Inc.