removeWorklogAdjustEstimate

Availability

This routine is available starting with 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

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)

removeWorklogAdjustEstimate(10000);

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


Example (cloud only)

removeWorklogAdjustEstimate(key, 10000);

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


 

See also