Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

XRay Import Execution Results - is there a way to specify the testType?

Javier del Olmo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 16, 2022

hi all!

At the moment, I'm uploading my automated test results using junit & cucumber API v2 docs (multipart endpoints).

Doubts are:

1- (JUnit) Whenever the test case does not exist, a new one is created, however I'd like to set the test type as "Automated" instead of the "Generic" issue type by default. Is there any field (on test execution json file) to do this?

2- In order to do the same with cucumber multipart endpoint, is it possible the tests get created automatically? So far it fails when the test doesn't exist. This is more or less how my multipart config looks like

 

{
"format": "cucumber",
"fields": {
"project": {
"key": "projecName"
},
"summary": "Test Execution for Cucumber tests",
"issuetype": {
"name": "Test Execution"
},
"description": "This contains test automation results"
},
"xrayFields": {
 "testPlanKey": "testPlanID",
 "environments": ["Android", "iOS"]
}
}

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events