getWorklogUpdateAuthor

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center?Ā Click hereĀ !

Availability

This routine is available starting with katl-commons 2.5.

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

Syntax for the server version:

getWorklogUpdateAuthor(worklog)


Syntax for the cloud version:

getWorklogUpdateAuthor(issue, worklog)


Description


Returns the author who last updated the worklog.

Parameters for the server version

ParameterTypeRequiredDescription
worklogNumberYesId of the selected worklog.

Parameters for the cloud version:

ParameterTypeRequiredDescription
issueStringYesThe issue key
worklogNumberYesId of the selected worklog.

Return type

String

Example 1Ā  (server only)

print(getWorklogUpdateAuthor(11201))

Prints the username of the author who last updatedĀ  the worklog with id = 11201.

Example 2Ā  (server only)

for(number id in getWorklogIds("2012-05-23 16:01:00",key)){
 print(getWorklogUpdateAuthor(id))
}

Prints the author who last updated the worklogs of the current issue who have the start date =Ā  "2012-05-23 16:01:00".

Example 3 (cloud only)

print(getWorklogUpdateAuthor(key, 11201))

Prints theĀ author who last updated the worklog with id = 11201, on the current issue.

See also