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

TestRail API to get Defects for a Test Case

Hi Team,

I am using TestRail APIs to automate a couple of workflows using Test Rail APIs v2. I have got stuck with a couple of issues.

My intent is to find the defects associated with a Test Case in TestRail. Can you please help me find a direct or a set of indirect API calls which can help to achieve the solution?

Also, it would be great if you can provide an API to fetch the list of Test Runs corresponding to a Test Case, if any?