ihsb
5 years agoNew Contributor
Returning customfield names instead of ID via API
On Zephyr Scale 8.0.2, the /testcase/search API returns a customFieldValues field (despite the API doc mentioning it as customFields). This only shows the ID of the customfield and selected option for a Single List.
For example -
"customFieldValues": [
{
"intValue": 420,
"customFieldId": 138
},
{
"intValue": 425,
"customFieldId": 139
}
]
This is useless until you call /project/{project_id}/customfields/{component} (which is undocumented) and properly map it to something meaningful. Unless I'm mistaken, this seems to be the method I could find. Is there any other way to do it to reduce the code on our end?