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

How to retrieve information about test runs with Milestone name or Id via API?

Hi Team,

I am working on some project in which I have only mile stone ID. I need to retrieve all cases associated to test runs in that mile stone via api? Can you please do the needful?

-Jagadish

Hi @jaggu486,

if we start with the simple case, where you have linked runs with milestones, you can e.g. start to try this way:

Use get_runs with the milestone_id as filter to retrive all the runs related to your milestone.
Use get_tests with each run_id to retrieve all tests for a run, including the case info.

That should help you.

  • Karsten