Availability
This routine is available starting with katl-commons 2.5.
Syntax
getWorklogAuthor(worklog)
Description
Returns the author of a worklog.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
worklog | Number | Yes | Id of the selected worklog. |
Return type
String
Example 1
print(getWorklogAuthor(11201))
Prints author's username of the worklog with id = 11201.
Example 2
for(number id in getWorklogIds("2012-05-23 16:01:00",key)){ print(getWorklogAuthor(id)) }
Prints the author for the worklogs of the current issue who have the start date = "2012-05-23 16:01:00".
See also