list_custom_fields_for_project
Probe candidate custom field names against a representative test case to discover which fields are populated for a TestLink project. Returns only fields with non-empty values.
Instructions
Best-effort custom field discovery. TestLink's XML-RPC API has NO endpoint to enumerate custom field definitions for a project — only to read a named field's value on a specific test case. Supply a representative test case plus a list of candidate field names (visible in TestLink Admin > Custom Fields) and this probes each one, returning only the fields that resolved to a non-empty value for that test case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | ||
| testProjectId | Yes | ||
| testCaseExternalId | Yes | A representative test case in the target project. | |
| candidateFieldNames | Yes | Field names to probe, e.g. from the admin UI. |