I am new to TestRail. As part of a project requirement, we are automating test rail results update through our automation framework.
To get results into test rail we are using add_result_for_case POST API which uses unique case_id ans run_id.
Now we have multiple unique run_id values as our runs are defined inside a test plan (again with its own run_id).
Is there a way of using API or any algorithm to retrieve all the available run_ids in a test plan so that we can use it with the POST request mentioned above???
We are trying to do it programmatically, rather than putting in run_id values somewhere manually and use it with the api.
Looking forward for a solution.
Thanks in advance.