Skip to end of banner
Go to start of banner

tempoAddAllocationForUser

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

issueKeystringYesIssue on which you wish to allocate

startDate

date

Yes

The start date; if null, no such filter will be applied

endDatedateYesThe stop date; if null, no such filter will be applied
plannedHoursPerDaynumberYesAmount of hours per day to be allocated
reviewerstringNoReviewer, optional

Return type

bool

See also

Filter by label

There are no items with the selected labels at this time.

  • No labels