Yes, we can import the test execution details/results into JIRA .
External execution results from either automated and manual Tests can be imported to JIRA. This operation may be done in two ways:
1. Manually, using the "Import Execution Results" (under more option on test execution view screen). This will update current Test Execution issue with the results
2. Using the REST API to integrate with Continuous Integration (CI) platforms or other external execution processes. With this appraoch , you can specify an existing Test Execution issue in JIRA or, in case the Test Execution key is missing, Xray will create a new Test Execution issue based on the provided information.
For importing using the first solution (Import Execution Results) :
Supported Import Formats: Xray for JIRA supports two distinct JSON formats for importing execution results:
Cucumber JSON output format
JUnit XML output format
NUnit XML output format
Xray JSON format
Refer more information here : Import+Execution+Results
For importing using second solution (REST API) :
Test Executions may be created or updated using JIRA's native REST API, taking into consideration Xray's custom fields.
The authentication is based on JIRA's REST API authentication, so you can use HTTP basic authentication using some user credentials. It should also be possible to use other authentication methods such as cookie based or OAuth.
The following document clearly explains how we can import the results using REST API
Hope this information will help you!
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot