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

Get test cases across all projects

Using APIs, how can I get all unique testcases across all the projects. I do not want same testcases which may be used in several test-suites. Since C# are unique in the system, I am looking to get these using API.
Thanks

@istream

Hey Ajay,

Welcome to the TestRail Community and thanks for your post.

There’s no single call to get the test cases across all projects, you would need to make multiple get_cases calls across all projects. By default, bulk get calls will only retrieve the first 250 matching results, so for larger projects/suites, use the :offset filter set to 251 to get the next set of 250 cases.

Let me know if this helps.

Thanks,
Shanu