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

Include_all and case_ids in entries field override runs in add_plan and add_plan_entry API calls

I am working on Python script to create new test plans. It gets the old plans data including entries, deletes unnecessary fields, after that I tried to pass entries (with multiple runs and include_all=false everywhere) into add_plan and I get
APIError: TestRail API returned HTTP 400 ({‘error’: ‘Field :entries.case_ids needs to i
nclude at least one test case.’})
If I add case_ids or include_all=true into entries then each run will have identical cases, no matter what include_all and case_ids each run have, but according to API docs runs should override entries. Same happens with add_plan_entry.

There is a message about it already since March 2018.