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

How can I use custom case selection instead of include_all = true in api

I am trying to use API to migrate test results inside a test plan from one testrail instance to another. The old testrail instance has testruns with custom sections of the testsuite it was created for. When I am migrating them in new instance with /add_plan_entry api documented in, it is copying all the sections. How can I get only the custom ones which are specifically defined in the old one?

Also, how can I copy the actual test results to this testrun using API? I get a message about testrun cannot be updated because it is a part of a testplan.