addWorklogReduceEstimateBy

Description

Adds worklog and the remaining time will be reduced by the value of reduceBY, but never below 0.

Parameters

Return Type

None

Example

addWorklogReduceEstimateBy(key, currentUser(), "2h", currentDate(), "test worklog", "4h");

Adds an worklog of 2 hours for the current user on the current issue, reducing the remaining time by 4 hours.

See also

Peacock