Hi,
I'm writing an automation which triggers an automated version creation and release. The trigger is coming from a webhook.

As you can see it creates a version then it releases it. The "If" part is not necessary, since I can't use smart values in the project setup, I added this to make sure that the release will be created in the correct project.
The "Create version" step behaves very strangely.
1. When I leave the project in the "Create version" step as "Same project" it creates 2 releases for me, one unreleased without any issues connected to it and one released one (after the "Release version" step) with the proper issues connected to it. It's annoying.
2. When I selected the specific project in the "Create version" step it creates only one version with the correct released state and issued connected to it, but in the audit logs I can see an error while everything created properly:
Successfully created version .
Failed to create version .
A version with this name already exists in this project. (name)
Why?
Thank you for the help,
Natalia