updateTimeEntryPlanned Mutation
Planned-track counterpart of updateTimeEntry, for entries on
Todo-backed Timesheet rows. userId is required at runtime
despite the nullable schema typing. With planned: true the
entry's plannedSeconds is overwritten; passing planned: true
with seconds omitted flags the entry as redistributed so its
planned value is recomputed from the Todo's work-effort
distribution. If planned is omitted, the entry's actual
seconds is updated instead.
When the entry's date falls inside the Todo's start–due range,
planned effort is recalculated across the Todo and every
affected Timesheet row is returned; otherwise only the parent
row is returned. The return type is [TimeItem], not the
updated TimeEntry.
The caller must be the row's owner (their own userId, with
view access to the Todo) or have update permission on the Todo's
Project (Project Admin, Stack Admin, or Workspace Admin).
Arguments
#
id
seconds
userEmail
Email address of the timesheet owner, instead of userId. With an organization access token it must belong to a member of the token's organization.
Response
#
Returns [TimeItem ].
Example
#
updateTimeEntry
updateTimeItem
