Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note

This routine is available starting with SIL Tempo Connector™ 4.8.0.6. Note that this routine is only available if the Tempo Planner add-on is installed.

Syntax

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

tempoAddAllocation(allocation)

Package

tempo

Alias

Pkg Usage

addAllocation(allocation)

Description

Excerpt
hiddentrue
Routine adds a new Tempo Planner allocation.

Routine adds a new Tempo Planner allocation.

...

Returns true if the planning succeeded, false otherwise.

...

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

allocation

TempoAllocation

Yes

The predefined structure containing all the necessary fields for allocation creation.

Return Type

Boolean

Returns true if the planning succeeded, false otherwise.

...

startDate

...

date

...

endDate

...

date

...

recurring

...

boolean

...

recurrenceRule

...

string

...

list of values: "NEVER", "WEEKLY", "BI-WEEKLY", "MONTHLY"

...

recurrenceEnds

...

date

...

planApprovalReviewer

...

string

Return type

bool

Note

The list of fields from the TempoAllocation

 structure

structure that are taken into consideration when creating the allocation

:

...

scopeId

...

number

...

scopeType

...

string

...

list of values: "account", "board", "project", "team", "folio", "none"

...

planItemId

...

number

...

planItemType

...

string

...

list of values: "component", "epic", "issue", "project", "sprint", "version"

...

assignee

...

string

...

assigneeType

...

string

...

list of values: "team", "user"

...

commitment

...

number

...

description

...

string

...

workPerDay

...

number

...

number of hours

...

includeNonWorkingDays

...

boolean

.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse

...

cqllabel = "tempo

...

_routine" and space = currentSpace ( )
labelsarray_routines