Versions Compared

Key

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

Syntax

...

The use of this routine requires the SIL Tempo Connector add-on (free) be installed.

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

Syntax

tempoDeleteAllocationForUser(user, startDate, endDate[, issueKey])

Package

tempo

Alias

Pkg Usage

deleteAllocationForUser(user, startDate, endDate[, issueKey])

Warning
Note that this routine is only available if the Tempo Planner add-on is installed.

Description

Excerpt
hiddentrue
This routine deletes the allocation for a given user between specified dates, optionally filtering for a given issue. Specifically:If we note:
sd = start date
ed = end date
ASD = allocation start date
AED = allocation end date
**** = modified allocation
---- = allocation interval to free
==== = timeline
the following actions will be taken:
============ ASD **** sd ---- ed **** AED =================== => split (i.e. 2 allocs)
============ ASD **** sd ------------ AED ---- ed =========== => move AED to sd
============ ASD **** sd ------------ AED/ed ================ => move AED to sd
============ sd/ASD ------------ ed **** AED ================ => move ASD to ed
============ sd/ASD -------------------- AED ---- ed ======== => delete
============ sd/ASD -------------------- AED/ed ============= => delete
============ sd ---- ASD ------------ ed **** AED =========== => move ASD to ed
============ sd ---- ASD -------------------- AED --- ed ==== => delete
============ sd ---- ASD -------------------- AED/ed ======== => delete

(warning) This routine is only available if Tempo Planner plugin is installed.

Parameters

This routine deletes the allocation for a given user between specified dates, optionally filtering for a given issue.

Parameters

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

Parameter name

Type

Required

Description

user

...

String

Yes

The user you are deleting the allocations for.

startDate

...

Date

Yes

The start date; mandatory.

endDate

...

Date

Yes

The stop date; mandatory.

issueKey

...

String

No

The issue key to delete allocation

...

Return

...

Type

TempoAllocation []

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "tempo-planner"_routine" and space = currentSpace ( )
labelsarray_routines