Update an estimate ​
PATCH/api/v1/workspaces/{slug}/projects/{project_id}/estimates/
Update the estimate for a project. Only fields provided in the request will be updated.
Path Parameters ​
project_id:requiredstringProject ID
slug:requiredstringWorkspace slug
Body Parameters ​
name:optionalstringName of the estimate.
description:optionalstringDescription of the estimate.
external_id:optionalstringExternal ID from an external system.
external_source:optionalstringExternal source identifier.
Scopes ​
projects.estimates:write
Update an estimate
bash
curl -X PATCH \
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/estimates/" \
-H "X-API-Key: $PLANE_API_KEY" \
# Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"description": "Updated story point scale"
}'python
import requests
response = requests.patch(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/estimates/",
headers={"X-API-Key": "your-api-key"},
json={"description": "Updated story point scale"},
)
print(response.json())javascript
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/estimates/",
{
method: "PATCH",
headers: {
"X-API-Key": "your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
description: "Updated story point scale",
}),
}
);
const data = await response.json();Response200
json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-21T09:30:00Z",
"name": "Story Points",
"description": "Updated story point scale",
"type": "points",
"last_used": true,
"external_id": null,
"external_source": null,
"created_by": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"updated_by": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"project": "4af68566-94a4-4eb3-94aa-50dc9427067b",
"workspace": "cd4ab5a2-1a5f-4516-a6c6-8da1a9fa5be4"
}
