removeWorklogAdjustEstimate
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center?Ā Click hereĀ !
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 |
---|---|---|---|
worklog | Number | Yes | Id of the selected worklog. |
Parameters for the cloud version:
Parameter | Type | Required | Description |
---|---|---|---|
issue | String | Yes | The issue key |
worklog | Number | Yes | Id 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