PractiTest Discussion Forum

Creating tests with custom fields

Hi. I’m trying to create new tests using the API, but I’m having troubles with the custom fields. It neither recognizes the custom field name (just adding a ‘field name’ : ‘value’ to the request) nor the custom field id, e.g. 500 b’{“error”:“Custom Field with key ___f_XXXXXX is not found”}’. What I am doing wrong?

Hi,

Thanks for your question.

Please see the correct structure, you should use for custom fields in your request, below:

“___f__put a custom field’s ID”:{“value”:“put your value”}

In order to find your custom fields’ ID, please go to the Settings - Fields - press ‘pencil’ icon near the relevant custom field and take a number going after The page you were looking for doesn't exist (404) in the URL.

Let us know if you need any additional assistance.