Skip to content

Update a custom property ​

PATCH/api/v1/workspaces/{slug}/projects/{project_id}/work-item-types/{type_id}/work-item-properties/{property_id}/

Update an issue property

Path Parameters ​

project_id:requiredstring

Project ID

property_id:requiredstring

Property id.

slug:requiredstring

Workspace slug

type_id:requiredstring

Type ID

Body Parameters ​

relation_type:optionalstring
  • ISSUE - Issue
  • USER - User
options:optionalarray

List of options to create when property_type is OPTION. Each option should have 'name', optionally 'description', 'is_default', 'external_id', and 'external_source'.

display_name:optionalstring

Display name.

description:optionalstring

Description.

property_type:optionalstring
  • TEXT - Text
  • DATETIME - Datetime
  • DECIMAL - Decimal
  • BOOLEAN - Boolean
  • OPTION - Option
  • RELATION - Relation
  • URL - URL
  • EMAIL - Email
  • FILE - File
  • FORMULA - Formula
is_required:optionalboolean

Is required.

default_value:optionalarray

Default value.

settings:optionalobject

Settings.

is_active:optionalboolean

Is active.

is_multi:optionalboolean

Is multi.

validation_rules:optionalobject

Validation rules.

external_source:optionalstring

External source.

external_id:optionalstring

External id.

formula_config:optionalstring

Formula config.

Scopes ​

projects.work_item_properties:write

Update a custom property
bash
curl -X PATCH \
  "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-item-types/550e8400-e29b-41d4-a716-446655440001/work-item-properties/550e8400-e29b-41d4-a716-446655440001/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Example Name",
  "description": "Example description",
  "property_type": "OPTION",
  "external_id": "550e8400-e29b-41d4-a716-446655440000",
  "external_source": "github"
}'
Response200
json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z",
  "name": "Example Name",
  "display_name": "Example Name",
  "description": "Example description",
  "property_type": "TEXT",
  "deleted_at": "2024-01-01T00:00:00Z",
  "relation_type": "ISSUE",
  "logo_props": "example-value",
  "sort_order": 1,
  "is_required": true
}