Versions Compared

Key

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


Info
titleAvailability

This routine is available starting with SIL Engine™ 2.5.

This routine is available for Jira server and cloud deployment options.

...

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

Syntax

getWorklogStartDate(worklog)

...

Syntax for the cloud version:

...

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the start date of a worklog.

Parameters for the server version

...

Parameters for the cloud version:

...

Returns the start date of a worklog.

Parameters

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

Parameter name

Type

Required

Description

...

worklog

Number

Yes

Id of the selected worklog.

Return

...

Type

Date

Examples

Example

...

1

Code Block
print(getWorklogStartDate(11201))

Prints the the start date of the worklog with id = 11201.

Example

...

2

Code Block
for(number id in getWorklogIdsForUser("admin", "TP-9")){ print print(getWorklogStartDate (id))
}

Prints the start date for all the admin's worklogs of the issue with key = "TP-9".

Example 3 (cloud only)

Code Block
print(getWorklogStartDate(key, 11201))

Prints the start date of the worklog with id = 11201, on the current issue.

See also

Filter by label (Content by label)
showLabelsfalse
max
150
25
showSpacefalse
cqllabel = "worklog_routine" and space = currentSpace ( )
labels
worklog
array_
routine
routines