Versions Compared

Key

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

This routine is available starting with katl-commons 2.5.

This routine is available for Jira server and cloud deployment options.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

addWorklogSetEstimateTo(issue, user, interval, startDate, comment, setTo)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Adds worklog and sets remaining time to the value of setTo.

Adds worklog and sets remaining time to the value of setTo.

Parameters

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

Parameter name

Type

Required

Description

issue

String

Yes

Key of the selected issue.

user

String

Yes

User name of the selected user.

interval

Interval

Yes

Interval of time worked.

startDate

Date

Yes

Start working date.

comment

String

Yes

Comment that will be posted on the worklog.

setTo

Interval

Yes

Interval to set the remaining time with.

Return

...

Type

None

Example

Code Block
addWorklogSetEstimateTo(key, currentUser(), "2h", currentDate(), "test worklog", "8h");

...

Filter by label (Content by label)
showLabelsfalse
max15025
showSpacefalse
cqllabel = "jira_worklog_routine" and space = currentSpace ( )
labelsjiraarray_worklog_routineroutines