Note that this routine is only available if the Tempo Planner add-on is installed.
Syntax
tempoAddAllocationForUser(user, issueKey, startDate, endDate, plannedHoursPerDay, description, [, reviewer])
Description
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.Returns true if the planning succeeded, false otherwise.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
user | string | Yes | The user whose time will be allocated |
issueKey | string | Yes | Issue on which you wish to allocate |
startDate | date | Yes | The start date; if null, no such filter will be applied |
endDate | date | Yes | The stop date; if null, no such filter will be applied |
plannedHoursPerDay | number | Yes | Amount of hours per day to be allocated |
reviewer | string | No | Reviewer, optional |
Return type
bool
See also
Filter by label
There are no items with the selected labels at this time.