Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!
Availability
This routine is available starting with SIL Engine™ 2.5.
This routine is available for Jira server and cloud deployment options.
Syntax for the server version:
removeWorklogIncreaseEstimateBy(worklog, increaseBy)
Syntax for the cloud version:
removeWorklogIncreaseEstimateBy(issue, worklog, increaseBy)
Description
Removes the worklog and the Remaining time will be increased by the value of increaseBy.
Parameters for the server version:
Parameter | Type | Required | Description |
---|---|---|---|
worklog | Number | Yes | Id of the selected worklog. |
increaseBy | Interval | Yes | Interval to increase Remaining by. |
Parameters for the cloud version:
Parameter | Type | Required | Description |
---|---|---|---|
issue | String | Yes | the issue key |
worklog | Number | Yes | Id of the selected worklog. |
increaseBy | Interval | Yes | Interval to increase Remaining by. |
Return type
None
Example (server only)
removeWorklogIncreaseEstimateBy(10000, "4h");
Removes the worklog with id = 10000, increasing the remaining time by 4 hours.
Example (cloud only)
removeWorklogIncreaseEstimateBy(key, 10000, "4h");
Removes the worklog with id = 10000 from the current issue, increasing the remaining time by 4 hours.
See also