Signature
Example use
// is the default, so it's not necessary to call it explicitly issue.workLogs = workLogHelper.mergeWorkLogs(issue, replica) // or, if wanted explicitly: issue.workLogs = workLogHelper.mergeWorkLogs(issue, replica, { worklog -> worklog.setAutoAdjust() })
Comments
The setAutoAdjust is a utility function that adjusts the remaining estimate value by subtracting the amount of work logged in the timeSpent field from the remaining estimate current value.