I’ve created a new case field (system name: component , type: Multi-select and with the following options:
1, Component 1
2, Component 2
3, Component 3
4, Component 4
and added this components to some test cases.
I want now to get the test cases containing some of these components with API. I’ve tried this:
- GET https://test.testrail.com/index.php?/api/v2/get_cases/1&component=1
- GET https://test.testrail.com/index.php?/api/v2/get_cases/1&custom_component=1
This methods are returning all the test cases.
Is there a way to get only the tests that have a component (Component 1) selected?