getCustomFieldsDefinitionList
Retrieves a list of custom field definitions from a table. You can use this operation to see the configured dropdown values for a field. A SOAP error envelope is returned if the operation fails.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
tablename | string | Table name to retrieve custom field definitions from. Valid values: Defect, Test Case, Test Run, Requirement, Requirement Document, Test Variant, User, Customer, Task, Test Config, Links, Folder, and Report. Use getTableList to retrieve a list of available tables. |
Return value
Value | Type |
---|---|
customFields | CField[] |
Example
CField[] cFieldDefs = ttsdk.getCustomFieldsDefinitionList(cookie, "Defect");