I am using automation to create an new issue in the Kanban board of a Next-gen project. I would like to set the Epic of this new issue to the same Epic as that of the trigger issue or the parent of the trigger issue (when the trigger issue is a sub-task). How can this be done? Setting the Epic Link field of the new created issue does not seem to work.
The only workaround I have found is to clone the trigger issue and then edit the fields of the newly created issue. In that case, the Epic is set automatically. There must be a simpler way however and this does not work when the trigger issue is a sub-task.
Thanks in advance for any suggestion.