Good morning,
I am new in the Automation world.
I want to create a script that does the following:
When a new issue is created
- Check if the issue is a Task
- IF the Task is not linked to an epic ("Parent" field)
- Create a new epic
- Link the task to the newly created epic
- ELSE the task is linked to an epic ("parent" field)
I have created the following workflow, but it doesn't work.

Is there someone that could assist me?
Thanks