I've created an automation to update a Task due date, whenever a Subtask due date changes. (We set the Task due date to the max of its Subtask due dates.) That works great.
I've created a similar automation to update an Epic due date, whenever a Task due date changes. (We want to set the Epic due date to the max of its Task due dates.) I'm missing something here, because this one is not working:

I'm thinking that parent={{issue.key}} is NOT the correct way for me to look up the Tasks that are in the Epic that I want to update. What's the correct way for me to do this? Thank you.