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

Adding comment via API


#1

Hi guys,

Apologize if this has been asked/documented previously. Just wondering if there is an API call to add a comment to specific test result?


#2

Hi Andisan,

Thanks for your post! The add_result methods of TestRail’s API would allow you to add a comment when submitting new results. That said, there isn’t an API method to update an existing result (and this is also restricted within the UI as well) for auditing purposes. It would just be recommended to add a new result to override the latest result if you need to update this with any new information/status.

http://docs.gurock.com/testrail-api2/reference-results#add_result

Hope this helps!

Regards,
Marco