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.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getWorklogIdsForUser(author, issueKey)

Package

Alias

Pkg Usage

Description

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

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

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

author

String

Yes

...

The username of the selected user.

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

issueKey

String

Yes

Key of the selected issue.

Return

...

Type

Number []

Example

...

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 BlockgetWorklogIdsForUser("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

Filter by label (Content by label)
showLabelsfalse
max
150
25
showSpacefalse
cqllabel = "worklog_routine" and space = currentSpace ( )
labels
worklog
array_
routine
routines