Versions Compared

Key

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

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 !


Info
titleAvailability

This routine is available starting with katl-commons 1.1.2

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

Syntax

getTimeSpent(issueKey, user_or_group )

...

Excerpt

Gets the time spent (logged) on an issue by a certain user or group.

Parameters

Parameter name

Type

Required

Description

issuekey

string

Yes

The key

Key of the issue.

user_or_groupstringYes
A username
Username or group name.

Return type

interval

Returns an interval that represents the sum of all the worklogs of the specified user or members of the specified group on the issue.

...

Returns: The sum of the worklogs of all the members of "jira-users" on issue PRJ-32: 4d 5h.

Example 2

Code Block
getTimeSpent("PRJ-32", "testuser");

Returns: The sum of the worklogs of the user "testuser" on issue PRJ-32: 2h.

See also

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

...