FlorianNeudert
4 years agoRegular Visitor
Export Test Cases including "Details", "Test Script" and "Execution"
Hello,
I am familiar with how to export Test Cases and it works smoothly if you are interested in the Details and the Test Script sections. However, what I have not yet figured out, is how to export the "Execution" section as well. Reason why: we are moving from one JIRA instance to another and due to auditing reasons I need to export all Test Cases (incl. details, test scripts and execution) from the old instance and import these Test Cases to the new JIRA instance.
Thank you for your help in advance!
Regards,
Florian
Right, so on Server you could do something like the pseudo-code below:
var testCycles = GET /testrun/search?query=projectKey = "ABBC" foreach (testCycles in testCycles) { var testExecutions = GET /testrun/{testCycle.key}/testresults // TODO do something with the test executions here }