Work item relation definitions overview
A relation definition is a relation type, for example Relates to, Duplicate, or a custom Tests type. Definitions are set once for the whole workspace, and every project uses the same list. When you create a work item relation, you pass a definition's id and one of its labels.
These endpoints are under the workspace path and have no project segment:
/api/v2/workspaces/{slug}/work-item-relation-definitions/Learn more about custom relations
Outward and inward labels
Each definition has two labels, one for each side of a relation. When work item A is related to work item B through a definition, the relation reads like this:
- From A, the source: A
outwardB, for example "ENG-42 tests ENG-17". - From B, the target: B
inwardA, for example "ENG-17 tested by ENG-42".
A symmetric relation type uses the same text for both labels, such as relates to. Both work items then show the relation under the same label.
The relations list groups related work items by these labels, so a label is also a key in that response.
Default definitions
Every workspace starts with three definitions. They have is_default: true and are read-only: updating or deleting one returns 400.
name | outward | inward |
|---|---|---|
Relates to | relates to | relates to |
Duplicate | duplicate | duplicate |
Implements | implements | implemented by |
Plans
Creating, updating, and deleting definitions needs custom relations on the workspace's plan. Without it, those calls return 402 payment_required.
Reads work on every plan, but they return only the definitions the plan includes:
- Without custom relations, the list holds only the default definitions.
- Without timeline dependencies, the list leaves out
Implements, and getting it by id returns404.
The relation definition object
Attributes
idstring (uuid)Unique identifier for the definition. This is the
relation_definition_idyou send when you create a relation.namestringDisplay name, for example
Tests. Unique in the workspace.descriptionstringWhat the relation type means. Empty when not set.
outwardstringThe label the source work item shows, for example
tests. No two definitions in the workspace share anoutwardlabel.inwardstringThe label the target work item shows, for example
tested by. No two definitions in the workspace share aninwardlabel.is_defaultbooleanWhether this is one of the three default definitions. Read-only. Default definitions can't be updated or deleted.
is_activebooleanWhether the definition can be used. An inactive definition is left out of relation lists, and new relations can't use it.
colorstringColor for the relation type, for example
#16a34a. Empty when not set.logo_propsobjectFree-form icon metadata Plane uses to render the relation type.
{}when not set.sort_ordernumberManual ordering weight. Lower sorts first. Lists return definitions in this order.
external_idstring or nullYour system's identifier for this definition, so an import can correlate it with a record in your own system.
external_sourcestring or nullThe system
external_idcame from, for examplejira. In the workspace, the pair ofexternal_idandexternal_sourceidentifies one definition.created_atstring (date-time)When the definition was created.
updated_atstring (date-time)When the definition was last updated.
created_by_idstring (uuid) or nullThe user who created the definition.
nullfor the default definitions, which Plane creates with the workspace.updated_by_idstring (uuid) or nullThe user who last updated the definition.
nulluntil someone updates it.
{
"id": "7a4c9e12-5f3b-4d68-8e01-2b6d9f4a3c85",
"name": "Tests",
"description": "A QA work item that verifies a feature",
"outward": "tests",
"inward": "tested by",
"is_default": false,
"is_active": true,
"color": "#16a34a",
"logo_props": {},
"sort_order": 262140.0,
"external_id": null,
"external_source": null,
"created_at": "2026-03-02T10:15:27.531904Z",
"updated_at": "2026-03-02T10:15:27.531904Z",
"created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"updated_by_id": null
}Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v2/workspaces/{slug}/work-item-relation-definitions/ | List work item relation definitions |
GET | /api/v2/workspaces/{slug}/work-item-relation-definitions/{pk}/ | Get a work item relation definition |
POST | /api/v2/workspaces/{slug}/work-item-relation-definitions/ | Create a work item relation definition |
PATCH | /api/v2/workspaces/{slug}/work-item-relation-definitions/{pk}/ | Update a work item relation definition |
DELETE | /api/v2/workspaces/{slug}/work-item-relation-definitions/{pk}/ | Delete a work item relation definition |
Access
| Operation | Who can call it | Scope |
|---|---|---|
| List and get | Any workspace member, including guests. | workspaces.work_item_relation_definitions:read |
| Create, update, and delete | Workspace owners and admins. Members and guests get 403. | workspaces.work_item_relation_definitions:write |
Changing a definition
- Renaming a label changes it everywhere at once. Existing relations keep the definition, so they show under the new label.
- Setting
is_active: falsehides the definition and every relation that uses it from relation lists, and new relations with it return404. The relations are kept. Sendis_active: trueto bring them back. - Deleting a definition returns
204. Plane then removes the relations that use it in the background. Its name and labels become free for a new definition.
Response shaping
Every relation definition read accepts ?fields= for sparse responses. See Sparse fields. Errors follow the shared problem+json contract.

