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

Export defects list per test case via API


#1

Hello,

We are trying to integrate TestRail with EazyBI in JIRA and have found a way to export from a Google Sheet to EazyBI. Now we are taking care of getting the TestRail content into that Google Sheet.

We don’t seem to find a way to programatically obtain the list of Test Cases and associated defects and status in the API description. Any way we can get them via REST API?

Best Regards,


#2

Hey @kataboy, are you attempting to add defects to the case references itself from a tests results?


#3

Hi Igor,

Thanks for your posting. The best way to export the defects would be via the CSV/Excel exports (on the milestone, plan or run level). You can include the Defects columns to include all recorded defects in this milestone, plan or run and should be able to easily import this into a Google spreadsheet.

Cheers,
Tobias