Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,537
Community Members
 
Community Events
168
Community Groups

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

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

Atlassian Community Events