You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the get_custom_field() function for getting a custom field value of a test run, the returned item is None.
In test_run.py#get_custom_field there's the following assignment: cf = self._custom_fields
Using print(cf) returns an empty list and it seems it wasn't initialized correctly.
Some observations:
The object seems to be a legit test run (printing tr.test_run_id shows its id number)
The value seems to be a legit custom field value (I used [print(f.__dict__) for f in tr.get_defined_custom_field_types(project_id="PROJ")] for listing all custom values and used one of them)
When trying to use the get_custom_field() function for getting a custom field value of a test run, the returned item is None.
In test_run.py#get_custom_field there's the following assignment:
cf = self._custom_fieldsUsing print(cf) returns an empty list and it seems it wasn't initialized correctly.
Some observations:
[print(f.__dict__) for f in tr.get_defined_custom_field_types(project_id="PROJ")]for listing all custom values and used one of them)