Skip to navigation

PM · Deps · Add a BLOCKS, RELATES_TO, or DUPLICATES dependency between two tasks

View as Markdown

Create a dependency relationship between two tasks. Required fields: target_task_id (UUID of the other task), relation_type (must be UPPERCASE): BLOCKS, RELATES_TO, or DUPLICATES. Use getTaskDependencies to read the current dependency graph before adding, to avoid duplicates. Returns the created relationship object.

Authentication

AuthorizationApi-Key

Header authentication of the form Api-Key <token>

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

task_idstringRequired

Headers

OrganizationstringOptional

Workspace (organization) ID the request is scoped to.

SpacestringOptional

Optional sub-space ID for further scoping inside the workspace.

Request

This endpoint expects an object.
target_task_idstringRequiredformat: "uuid"
relation_typeenumOptionalDefaults to BLOCKS
Allowed values:

Response

Relationship created.