there is some way to set up a rule in the Jira automation that will change the time remaining to 0 when closing a subtask?
I tried a rule like:
When: issue transition to 'closed' then edit issue fields Original Estimate/Remaining Estimate to 0
and advanced setting like -
But it didn't work and got this error
Unknown fields set during edit, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
Time tracking (timetracking)
No fields or field values to edit for issues (could be due to some field values not existing in a given project):
Thanks in advance
Is there a specific reason you want to use automation instead of a postfunction?
I think you should consider looking into adding a postfunction in the closing transition that set the field value to want you want!
Give it a try a give us some news!
Thank you for your answer, I wasn't familiar with post-function in the workflows, but I did give it a try and it worked so thanks for that.
Correct me if I'm wrong' but adding a post-function to the workflow will affect every project that uses this workflow no?
I don't want to affect other projects and it would be nice to know how to do it in the automation rules anyway.