gurock / trcli

TR CLI (trcli) is a command line tool for interacting with TestRail.
Mozilla Public License 2.0
48 stars 39 forks source link

Erroneous "is a required field"? #150

Closed MelaAxel closed 1 year ago

MelaAxel commented 1 year ago

TestRail CLI Version

1.5.0

CLI Environment

Windows 11 Pro, Python 3.11.4

TestRail Version

v7.8.0 Default (1141)

TestRail Instance Type

Professional Cloud

Current behavior

When attempting to run trcli to upload our cypress results, I get the following:

Found 13 test cases not matching any TestRail case.
Adding missing sections to the suite.
Adding missing test cases to the suite.
Adding test cases: 0/13
Error during add_case. Trying to cancel scheduled tasks.

Aborting: add_case. Trying to cancel scheduled tasks.
Adding test cases: 0/13
Field :custom_automation_status is a required field.
Deleted created section
Deleted created suite

The issue here as that field is not flagged as required in our TestRail instance: image

I am newly getting back into using TR so I feel this could be user error but we can't seem to determine why this is showing as required...

Desired behavior

No response

More Details

No response

MelaAxel commented 1 year ago

Closing per a ticket response from Mark T (at https://support.testrail.com/):

The field custom_automation_status is most likely referring to another custom field. Please look for a field that is named automation_status in the field list since all custom fields are prefixed with custom keyword on creation custom_automation_status would actually be displayed as automation_status.