Open
Description
I see this API for loading cases:
client.cases().list(projectId, suiteId, customCaseFields).execute();
which is not consistent with other calls, like
client.milestones().list(projectId).execute();
why is there a need to provide a list of customCaseFields to this method?
the following REST API call returns list of cases with all custom fields set:
"index.php?/api/v2/get_cases/" + projectId + "&suite_id=" + suiteId
according to TestRail REST API documentation, custom fields returned start with "custom_" prefix. so all these fields can be loaded from the Json response as a Map to Case class.
and then they could be retrieved by name:
Object value = aCase.getCustomField(name)