Forum Discussion

jpl_reporting's avatar
2 months ago

Datacenter API: result of call does not provide all customfield values

Dear community and support team,

I want to extract the customfield values of test cases using the following API call:

https://tickets.URL.com/rest/atm/1.0/testcase/search?fields=key,customFields&query=projectKey IN ("WEBQA", "DTD", "DTG")

It works like a charm, but in the results I only get two of the three customfields returned.

"Is regression" and "Test Type" get returned, but "Platform" does not:


Is there a difference in the field configuration that causes this? I can see that the two working fields have a red * as the only direct visible difference.

Thank you very much and best regards,
Jonas

1 Reply

  • I'm not a user of the API, but will try to help if I can.  As troubleshooting methods, have you tried specifying the Platform custom field explicitly so it is forced to return?  And changing it to a Required field like the other two?

    You may find that you will need help from Smartbear Support, but you won't find them here as this is a user forum.  You can however raise a ticket with them here: SmartBear Support