Info | ||
---|---|---|
| ||
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 |
---|---|---|---|
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)
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.
...