Zum Inhalt springen
Leadtime
Deutsch
Esc
↑↓navigieren↵öffnen⌘Jvorschau

Recalculate all estimates for a project component

Recalculates time estimates for all items (epics and non-epics) within a project component. This includes:

  • Recalculating individual item estimates based on timeFrame and question multipliers/extra hours
  • Recalculating epic estimates by summing their children’s estimates
  • Updating the component’s totalTimeFrame
  • Respecting visibility conditions (items with invalid conditions are excluded)

Items are processed bottom-up (children first, then parents) to ensure accurate calculations. Only components that belong to the specified project can be recalculated through this endpoint.

POST/projects/{projectId}/components/{id}/recalculate-estimates
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
projectIdstringrequired

Project UUID

idstringrequired

Component UUID

Responses
200

Estimates recalculated successfully

successbooleanrequired

Operation success flag

400

Invalid projectId or component ID format (not a valid UUID)

401

Unauthorized - Invalid or missing authentication token

403

Insufficient permissions to manage components or no access to project

404

Component not found or does not belong to the specified project

Try it
Server
Authorization
Parameters
Request
curl -X POST "https://leadtime.app/api/public/projects/a47dc37b-7693-4d06-b49c-17084b773aff/components/e57dc37b-7693-4d06-b49c-17084b773aff/recalculate-estimates" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "success": true
}