Summarize subtasks assignees in a parent task's property (Next Gen)

I’m trying to create an automation that allows me, everytime that a subtask is assigned to a user, to add that user to a User Multi-select field that I added to the parent issue type.

How could I achieve that?

I’ve tried creating a branch for the parent but then I’m not able to aggregate all the assignees of the subtasks.