Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

How to restore test suites and associated test plans and runs?

Hello,

I accidentally moved test cases from one suite into another as part of a consolidation process without thinking of the consequence it might have on active test plans and runs. A TestRail admin has restored the backup on a different server and now I wish to restore the test suites, test plans and runs. Is there a way to do all of this using the API or perhaps a simpler way?

I’m referring to http://docs.gurock.com/testrail-api2/reference-results, but I believe this isn’t helping me much. I looks like I need to first add the tests back into the plans/runs before using the “add” APIs. Before that I need to restore the test suites to their original state.

Thanks,
Vittal