Skip to content

Work item dependencies overview ​

A dependency sets the order two work items happen in: one blocks the other, or one has to start or finish before the other. Plane draws dependencies as connectors in the Timeline layout. To describe how work items are connected without affecting their order, use relations instead.

Dependencies use a fixed set of six types, in three pairs. There is no definition to look up first.

A dependency has no id of its own. You read a work item's dependencies as one map, and you remove a dependency by naming the other work item in the path.

Learn more about dependencies

The dependencies map ​

Reads and creates return the path work item's dependencies grouped by type. The map always has all six keys. Values are work item ids only: look up the work items through the work items API. A work item you can't see is left out of its list, and the other work item can be in any project in the workspace.

Attributes ​

  • blocking array of string (uuid)

    Work items that can't start until this one finishes.

  • blocked_by array of string (uuid)

    Work items that have to finish before this one can start.

  • start_after array of string (uuid)

    Work items this one can only start after they start.

  • start_before array of string (uuid)

    Work items this one has to start before.

  • finish_after array of string (uuid)

    Work items this one can only finish after they finish.

  • finish_before array of string (uuid)

    Work items this one has to finish before.

Response200
json
{
  "blocking": ["9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88"],
  "blocked_by": ["b51d7e09-8a3c-4f62-9e17-4c2a6d8f1b95"],
  "start_after": [],
  "start_before": ["6e2a9d47-1c5b-4f83-a7d0-3b8e4f1c9a62"],
  "finish_after": [],
  "finish_before": []
}

Dependency types ​

Each type is named from the path work item's side. The other work item sees the reverse type.

TypeMeaning for the path work itemThe other work item sees
blocked_byIt can't start until the other one finishes.blocking
blockingThe other one can't start until this one finishes.blocked_by
start_beforeIt has to start before the other one starts.start_after
start_afterIt can only start after the other one starts.start_before
finish_beforeIt has to finish before the other one finishes.finish_after
finish_afterIt can only finish after the other one finishes.finish_before

Creating blocking on ENG-42 for ENG-17 is the same dependency as creating blocked_by on ENG-17 for ENG-42. ENG-42 lists ENG-17 under blocking, and ENG-17 lists ENG-42 under blocked_by.

The API accepts all six types on every plan. In the Plane app, the start and finish types, and the timeline connectors, need timeline dependencies on the workspace's plan. See Dependencies in Timeline.

One dependency per pair ​

Two work items can have only one dependency between them, of any type and in either direction. If one already exists, creating another is skipped without an error: the response is still 201, and the existing dependency stays as it was. Check the returned map to see what is linked.

To change a dependency's type or direction, delete it and create the new one.

The API doesn't reject the path work item's own id in work_item_ids. Leave it out.

Endpoints ​

MethodPathDescription
GET/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/dependencies/List work item dependencies
POST/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/dependencies/Create a work item dependency
DELETE/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/dependencies/{related_work_item_id}/Delete a work item dependency

{related_work_item_id} is the UUID of the other work item, not a dependency id. It works from either side, and it removes the dependency whatever its type.

Access ​

OperationWho can call itScope
ListAnyone who can see the work item.projects.work_items.relations:read
Create and deleteAnyone who can edit the work item: project admins, contributors, and workspace owners and admins. Commenters and guests get 403.projects.work_items.relations:write

Dependencies share the projects.work_items.relations scopes with relations. There is no separate dependency scope.

Edit access is checked on the path work item only. You can add a dependency on any work item in the workspace that you can see.

Creating and deleting dependencies each add an entry to the path work item's activity.

Response shaping ​

The dependencies map isn't paginated and takes no ?fields= or ?expand=. Errors follow the shared problem+json contract.

Changed from v1 ​

  • The path and the six relation_type values are the same as v1's dependencies/ routes. work_item_ids now takes at most 100 ids per call.
  • The map holds work item ids. v1 embeds a work item object for each one. v2 also leaves out work items you can't see.
  • The path accepts a project identifier such as ENG and a work item identifier such as ENG-42. v1 takes UUIDs only.
  • v1's deprecated relations/ and relations/remove/ routes, which mix dependencies and relations, have no v2 counterpart.

See Migrating from v1 for the full list.