I found out how to create a version (depending on the issue.summary) and then how to add it to the issue just created.
Now I want to also add the version of the parent task.
My Problem: When I create a task without parent (link epic) it works perfect. The new version is created and added.
When I create a task with an epic link I see who the first version gets deleted and the version of the parent is added.
Although I marked "Add to existing version" in the change issue field for versions.