ProductionMu Mutation

startTaskTimer

Topics: Jobs

Start a timer on an open task. A person runs one timer at a time: a timer running on another task is stopped first, in the same write. Starting it again on the same task returns the running timer. Two starts racing leave one timer; the other gets WRITE_CONFLICT. The assignee, the claimer, a member of the assigned team while unclaimed, or a task:write holder.

Returns

TaskTimeEntryPayload!

Arguments

taskId

TaskID!Required

The open task to time

Exact field SDL
"""
Start a timer on an open task. A person runs one timer at a time: a timer running on another task is stopped first, in the same write. Starting it again on the same task returns the running timer. Two starts racing leave one timer; the other gets WRITE_CONFLICT. The assignee, the claimer, a member of the assigned team while unclaimed, or a task:write holder.
"""
startTaskTimer(
  """The open task to time"""
  taskId: TaskID!
): TaskTimeEntryPayload! @topic(names: ["jobs"])

Declared on Mutation. Access is checked by the platform for each operation.