Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

[API] Get Testcase custom multi-select entries


#1

I have added a custom field to testcases (multi-select) which I want to use for tagging TCs. Unfortunately, when I query for testcases via the API, I only get the IDs of the fields back but not their actual names.

Is there any way to achieve that? Maybe i have missed something.
Any help is appreciated.


#2

Hello Andre,

Thanks for your posting. Yes, you can get the names via the custom field definitions, specifically get_case_fields and get_result_fields:

http://docs.gurock.com/testrail-api2/reference-cases-fields
http://docs.gurock.com/testrail-api2/reference-results-fields

I hope this helps and please let me know in case you need anything else!

Regards,
Tobias