/
getWorklogIdsForUser

getWorklogIdsForUser

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 SIL Engine™ 2.5.

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

Syntax

getWorklogIdsForUser(author, issueKey)

Description


Returns an array with the ids of the worklogs for the specified user and issue.

Parameters

ParameterTypeRequiredDescription
authorStringYes

On the server version: the username of the selected user.

On the cloud version: the account id of the selected user.

issueKeyStringYesKey of the selected issue.

Return type

Number []

Example 1 (server)

getWorklogIdsForUser("admin",key)

Returns an array containing the ids of all the worklogs of the current issue who were created by admin.


Example 2 (cloud)

getWorklogIdsForUser("557058:b540463d-d7fb-43a9-b440-85e1cdbb201d",key)

Returns an array containing the ids of all the worklogs of the current issue who were created by admin.


See also

Related content

getWorklogAuthor
getWorklogAuthor
More like this
getWorklogUpdateAuthor
getWorklogUpdateAuthor
More like this
getWorklogIds
More like this
getWorklogComment
getWorklogComment
More like this
getWorklogCreatedDate
getWorklogCreatedDate
More like this
getWorklogsForIssues
getWorklogsForIssues
More like this