The issues are created by CSV import.

An automation rule should trigger to sum up all the original estimate and remaining estimate of the child issues to the parent
Now the original estimate and remaining estimate of subtask should be updated to Story which inturn update Epic.
When work effort is logged to the subtask, an automation rule should trigger to calculated the remaining estimate update the subtask , story and Epic.
How to create the automation rule?