If the Original Estimate of an issue is 0m, any time written to it will set the Work Ratio to 9223372036854775807%
To correct this, I used a post function on my Workflow Transitions to conditionally clear the Original Estimate and Remaining Estimate fields, only if the original estimate is 0m:
if( 0 == issue.getOriginalEstimate()){ issue.setOriginalEstimate(null) issue.setEstimate(null) }
Is there a better approach?
Community moderators have prevented the ability to post new answers.
This should work for you without any custom scripting:
Still use a Post Function, use Update Issue Field, select "Remaining Estimate", leave Field Value blank, hit Update.
You can do the same for Original Estimate if you wish.
Source:
https://confluence.atlassian.com/display/JIRAKB/Set+Remaining+Estimate+to+0+on+post+function
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.