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

[API] want to update assigntoid for a particular section


Dear admin,

I want to update all test cases (assignto id) in a section to particular id. can you guide me. thanks in advance.



We already answered this via email and here’s our original reply again:

You can call get_cases for the related test suite (of the test run) which includes the section IDs. The idea for the implementation/mapping would be:

get_tests -> id, case_id
get_cases -> id (case_id), section_id

Once you have the case and section IDs, you can compute the list of test IDs and then assign those tests using add_results (one call per section/user):

I hope this helps and please let me know in case you have any further questions!