getWorklogComment

Description

Returns the comment associated with the worklog.

Parameters

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.

See also