Forums

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

JIRA-XRAY integration - unit test results (xml format) not imported

Ajay Taneja
Contributor
January 23, 2023

Hi, I'm using the following command and API in my gitlab.yml file to import the test results into JIRA:

 

- 'curl -H Content-Type:multipart/form-data -H "Authorization: Bearer NzEzMDM5MDc0MDU5OhXdEvd5uQFmcTmMLyV6NWuz78Yk" -F file=@coverage2.xml "https://jira.devops.jlr-apps.com/rest/raven/1.0/import/execution/junit?projectKey=VHS&testPlanKey=VHS-1333"' 

But I'm getting an error as follows, stating

 {"error":"components: components"}

 I do have components defined in the project as you can see:

Capture.JPG

Please can someone help?

 

Thanks in anticipation

0 answers

Suggest an answer

Log in or Sign up to answer