Availability
This routine is available starting with katl-commons 2.5.
Syntax
getWorklogCreatedDate(worklog)
Description
Returns the created date of a worklog.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
worklog | Number | Yes | Id of the selected worklog |
Return type
Date
Example 1
print(getWorklogCreatedDate(11201))
Prints the created date of the worklog with id = 11201.
Example 2
for(number id in getWorklogIdsForUser("admin", "TP-9")){ print(getWorklogCreatedDate(id)) }
Prints the created date for all the admin's worklogs of the issue with key = "TP-9".
See also