Versions Compared

Key

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

Syntax

...

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=tempoDeleteAllocationForUser+-+15486798
widthauto

The use of this function 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 function is only available if the Tempo Planner add-on is installed.

Description

Excerpt
hiddentrue

This routine function 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 function 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

...

_routine" and space = currentSpace ( )
labelsarray_routines
We've encountered an issue exporting this macro. Please try exporting this page again later.