Update property value
PATCH/api/v1/workspaces/{workspace_slug}/projects/{project_id}/work-items/{work_item_id}/work-item-properties/{property_id}/values/
Partially update an existing property value for a work item.
Path parameters
project_id:requiredstringThe unique identifier of the project.
property_id:requiredstringThe unique identifier of the property.
workspace_slug:requiredstringThe workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.
work_item_id:requiredstringThe unique identifier of the work item.
Body parameters
value:optionalobjectThe value to set for the property. Its type depends on the property type: a string for text, URL, email, and file fields; a UUID string, or a list of UUIDs when is_multi is true, for relations and options; a YYYY-MM-DD string for dates; a number for decimals; and a boolean for booleans.
external_id:optionalstringOptional external identifier, for syncing with external systems.
external_source:optionalstringOptional name of the external source, for example github or jira.
Scopes
projects.work_item_property_values:write
Update property value
bash
curl -X PATCH \
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/project-uuid/work-items/work-item-uuid/work-item-properties/property-uuid/values/" \
-H "X-API-Key: $PLANE_API_KEY" \
# Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"value": "updated text value"
}'python
import requests
response = requests.patch(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/project-uuid/work-items/work-item-uuid/work-item-properties/property-uuid/values/",
headers={"X-API-Key": "your-api-key"},
json={
"value": "updated text value"
}
)
print(response.json())javascript
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/project-uuid/work-items/work-item-uuid/work-item-properties/property-uuid/values/",
{
method: "PATCH",
headers: {
"X-API-Key": "your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
value: "updated text value",
}),
},
);
const data = await response.json();Response200
json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"property_id": "550e8400-e29b-41d4-a716-446655440000",
"issue_id": "550e8400-e29b-41d4-a716-446655440000",
"value": "Example Name",
"value_type": "Example Name",
"external_id": "550e8400-e29b-41d4-a716-446655440000",
"external_source": "github",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
