Versions Compared

Key

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


Info
titleAvailability

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

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

Syntax for the server version:

removeWorklogAdjustEstimate(worklog)

Syntax for the server version:

removeWorklogAdjustEstimate(issue, worklog)

Description

Excerpt
Removes the worklog and the Remaining will be increased by the time from the worklog.

Parameters for the server version:

Parameter

Type

Required

Description

worklogNumberYesId of the selected worklog.

Parameters for the cloud version:

Parameter

Type

Required

Description

issueStringYesThe issue key
worklogNumberYesId of the selected worklog.

Return type

None

Example (server only)

Code Block
removeWorklogAdjustEstimate(10000);

Removes the worklog with id = 10000, recalculating the remaining time automatically.


Example (cloud only)

Code Block
removeWorklogAdjustEstimate(key, 10000);

Removes the worklog with id = 10000 from the current issue, recalculating the remaining time automatically.

...