getWorklogIdsForUser

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)

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


Example 2 (cloud)

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


See also