Hi Atlassian community
I want to create an automation that autocalculate sum of all worklog subtasks except Story and Epic and set the sum to parent Epic

issue.childissue.timeSpent.sum get me the sum of all subtasks ,how can add a condition in this smart value ??
{{#=}}{{issue.childissue.timeSpent.sum}} / 60{{/}}
Thank you