Closed nikhilbidave closed 4 years ago
Hi @nikhilbidave,
That's interesting as it would mean that there's no executedBy field in any executions. Maybe it's due to a misconfiguration of Jira Test management plugin.
Could you please try to call create_test_run without testcases and then to add test cases afterwards by
create_test_results(
The test run is getting created when you don't specify test cases. I tried your solution as well but still, test cases are not getting linked to test run.
Ok, then it seems that executedBy is just missing in the tm4j plugin. Which version of tm4j are you using? We are using 6.9.0 currently.
Failed to create test run when test cases list is passed. Getting below error - request failed. 500 Server Error: Internal Server Error for url: https://jira.**.*****.com.**//rest/atm/1.0/testrun {"message":"Unrecognized field \"executedBy\" (Class com.kanoah.testmanager.service.model.TestResultDTO), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@67e7d629; line: 1, column: 205] ............
Code - jira_atm.create_test_run(project_key="Test", test_run_name="New", folder="New", test_cases=["Test-T1"])