Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...


Info
titleAvailability

This routine is available starting with SIL Engine™ 2.5.

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

Syntax for the server version:

getWorklogAuthor(worklog)


Syntax for the cloud version:

getWorklogAuthor(issue, worklog)


Description

Excerpt
Returns the author of a 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)

Code Block
print(getWorklogAuthor(11201))

Prints author's username of the worklog with id = 11201.

Example 2 (server only)

Code Block
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".

Example 3 (cloud only)

Code Block
print(getWorklogAuthor(key, 11201))

Prints author's username of the worklog with id = 11201, on the current issue.

See also

Filter by label (Content by label)
showLabelsfalse
max150
showSpacefalse
cqllabel = "jira_worklog_routine"
labelsjira_worklog_routine

...