Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getWorklogLoggedHours+-+434635622
widthauto

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

Syntax

getWorklogLoggedHours(issue, worklog)

Package

Alias

Pkg Usage

...

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

Parameter name

Type

Required

Description

issue

String

Yes

The issue key.

worklog

Number

Yes

Id of the selected worklog.

Return Type

Interval

Examples

Example

...

Code Block
languagejs
print(getWorklogLoggedHours(key, 11201))

Prints the logged hours for the worklog with id = 11201.

Example 2

Code Block
for(number id in getWorklogIdsForUser("admin", "TP-9")){print (getWorklogLoggedHours (id))}

Prints the logged hours for all the admin's worklogs of the issue with key = "TP-9", on the current issue.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jira_worklog_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.