Routines

  • tempoDeleteAllocationForUser — This routine deletes the allocation for a given user between specified dates, optionally filtering for a given issue.
  • tempoAddAllocation — Routine adds a new Tempo Planner allocation.
  • tempoClearIssueTeam — Removes any value the team may be set on that issue. Returns true if the issue was cleared, false if not.
  • tempoAddIssueToTeam — Allocates the issue to the specified team.
  • tempoAddAllocationForUser — Routine adds another allocation for the user on the specified issue. Reviewer is optional. Allocation time is leveled to accommodate the existing allocation of the user.
  • tempoGetAccount — Returns the account with the specified id, key, or name.
  • tempoGetAccountForIssue — Returns the account set on the issue, if any.
  • tempoGetAllocations — Routine returns the allocations that might exists for a user between the specified dates, optionally filtered by projects or even for individual issues
  • tempoGetCustomerAccounts — Returns the customer accounts, optionally filtered by the status.
  • tempoGetGlobalAccounts — Returns all the global accounts you might have defined in Tempo.
  • tempoGetIssueTeam — Returns the team responsible for a given issue.
  • tempoGetTeam — Returns the team either by id (stringified), name or key of the team.
  • tempoGetTeamUsers — Returns an array of the current active members of a team (user keys).
  • tempoGetWorklogAttribute — Returns the value of the worklog attribute, as a string.
  • tempoIsUserInTeam — Returns true if the user belongs to the active base of the team at the time of the call.
  • tempoSetAccountForIssue — Sets the issue account. Returns true if the set has been performed.
  • tempoSetWorklogAttribute — Sets the value of the work log attribute, as a string. Such work log should exist, as well as the TEMPO attribute on it.