this is more of a JSON question in Java rather than a TestRail question, but I hope to find also an answer.
I have a custom filed calles ‘Labels’ (system name ‘tags’) that is a multi-select field.
I also have the custom_steps_separated configured.
Both fields I like to set via an api call, but my problem is that I have no idea how to set up my data map.
Map<String, Object> dataMap = new HashMap<>(); dataMap.put("title", title); dataMap.put("custom_preconds", precondition); dataMap.put("custom_tags", ???);
What type/datastructure must be used for modelling the tags and the custom steps ?
and the key for the steps is custom_steps_separated - what is it for the expected results ? custom_expected_results