Closed vityazverev closed 5 months ago
custom_custom_tc_owner is a required field. -> either you don’t make this field required in your test rail project or specify the value to be set to the field using the --case-fields parameter.
See also:
custom_custom_tc_owner is a required field. -> either you don’t make this field required in your test rail project or specify the value to be set to the field.
See also: #73
Does the field custom_custom_tc_owner
need to be added in the same as automation_id
from doc https://support.testrail.com/hc/en-us/articles/12609674354068-Automation-workflows-Code-first?
Is it possible to update the document?
Thanks for the reply
custom_custom_tc_owner is a required field. -> either you don’t make this field required in your test rail project or specify the value to be set to the field using the --case-fields parameter.
See also:
I checked what the fields we have and the custom_custom_tc_owner
exists.
Yes this field is available in your TestRail project, and it’s assigned to your TR project as „required“ https://support.testrail.com/hc/en-us/articles/7373850291220-Configuring-custom-fields
Why do you think that your import knows what value to use for this field? You have to provide the --case-fields
when using the trcli parse_junit
and specify which custom_custom_tc_owner
should be set. Idk why your field has double custom_custom_
but your trcli import configuration should look something like this:
case_fields:
custom_custom_tc_owner: [71]
OR
case_fields:
custom_custom_tc_owner:
- 71
Don’t forget to specify the file path to your config file with trcli --c <pathToFile> parse_junit
OR
use it wit the trcli parse_junit --case-fields custom_custom_tc_owner:71
be aware that user 71
will be set to the field custom_custom_tc_owner
for every created testcase
—-
To sum it up: As already mentioned you either should make the field custom_custom_tc_owner
not required in your project configuration within TestRail OR specify which value to be set for the required field custom_custom_tc_owner
while importing.
Works, thank you!
TestRail CLI Version
1.8.0
CLI Environment
MacOS Soloma 14,2,1, Python 3.11.6
TestRail Version
v8.0.3 Default (3066)
TestRail Instance Type
Professional Cloud
Current behavior
I am trying to import JUnit test results to TestRail and create test cases. The field![image](https://github.com/gurock/trcli/assets/24814113/2e3bd662-4430-48ab-83a4-aa334dbb0a90)
automation_id
is presentSample command:
Result:
Desired behavior
No response
More Details
No response