Versions Compared

Key

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

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.


Info
titleAvailability

This routine is available starting with katl-commons SIL Engine™ 2.5.

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

Syntax

getWorklogIdsForUser(author, issueKey)

...

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


Parameters

ParameterTypeRequiredDescription
authorStringYes
Username

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)

Code Block
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)

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

Content by Label
showLabelsfalse
max150
showSpacefalse
cqllabel = "jira_worklog_routine"
labelsjira_worklog_routine