getWorklogComment
Syntax | getWorklogComment(worklog) | Package |
|
Alias |
| Pkg Usage |
|
Description
Returns the comment associated with the worklog.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
worklog | Number | Yes | Id of the selected worklog. |
Return Type
String
Examples
Example 1
print(getWorklogComment(11201))Prints the comment associated with the specified worklog (the worklog with id = 11201).
Example 2
for(number id in getWorklogIdsForUser("admin", key)){
print(getWorklogComment(id))
}Prints the comment associated with the admin's worklogs of the current issue.