Use case
Return the sum of the remaining estimates of the issues under the epic and the sub-tasks of the issues under the epic in hours.
Expression
Create and configure a Smart field using this expression in General parsing mode:
%{sum(fieldValue({issue.remainingEstimate}, union(issuesUnderEpic(), subtasks(issuesUnderEpic())) )) / HOUR}