I want to update Original Estimate field using Groovy in Scriptrunner that way changes will not appear in history.
I know that customfield.updatevalue() method does what i want, but it's for custom fields, not for TimeTracking field.
In documentation I saw a matching method at Calvindude
updateValue(FieldLayoutItem fieldLayoutItem, Issue issue, ModifiedValue modifiedValue, IssueChangeHolder issueChangeHolder)
, but there is 2 problems:
I dont know how to retrieve this field for an issue
And what modifiedValue should look like in code