Currently I'm writing an automation which will sum all of the Original & Remaining Estimates for an Epics' children. The issue is that it is returning with 0 min. The children have been verified to have various timetracking values, but I'm having difficulty accessing them within logging.

After running this script on a child of an Epic it updates the Epics time estimates to 0m.

Any help would be greatly appreciated.