Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×Hi all,
We have recently started to use Test Case versioning available through Xray Enterprise.
What we would like to do is create a new version of a Test whenever the linked Requirement is moved through it's workflow.
We know how to automate many actions for when a linked issue is updated, such as creating entirely new issues or updating fields, but we cannot find any documentation for creating a new version of a test.
Is this currently possible using any existing automation tools? We have used ScriptRunner to automate similar things in the past.
Is there an API for managing test versions?
All responses welcomed, thank you.
Currently it's not possible to do that through an workflow transition, at least directly.
There's a REST API endpoint for creating versions of tests that you could potentially invoke using ScriptRunner. To be clear, the previous endpoint is not for actually managing versions as a whole but instead for creating steps associated to a given version of manual test.
So you can invoke the Xray API to create a new version.. eventually with blank steps, if that makes sense for you.
Thank you for reaching out.
I would suggest in this case you reach out to our Support here.
Best, Francisco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.