Availability
This routine is available starting with katl-commons 2.5.
Syntax
removeWorklogSetEstimateTo(worklog, increaseBy)
Description
Removes the worklog and sets Remaining time to the value of setTo.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
worklog | Number | Yes | Id of the selected worklog. |
setTo | Interval | Yes | Interval to set the Remaining time with. |
Return type
None
Example
removeWorklogSetEstimateTo(10000, "8h");
Removes the worklog with id = 10000, setting the remaining time to 8 hours.
See also