Forums

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

Handling required fields when exporting JUnit test results to JIRA via Xray's REST API

João Galego May 14, 2018

Hello All,

I'm using Xray's REST API to import JUnit test results to JIRA.

The problem is that the Tests have to be created and the Description field is required.

{
"testExecIssue": {
"id": "...",
"key": "...",
"self": "..."
},
"message": "description: Description is required.\n"
}

Can anyone help me with this?

 

1 answer

1 accepted

1 vote
Answer accepted
José Domingues _Xray_
Atlassian Partner
May 17, 2018

Hi João,

There is an issue in our backlog to improve this. You can vote for it and watch that issue here XRAY-2510.

Until then, one workaround is to make the "Description" field Optional in that particular project.

 

Best regards,

Xpand Add-ons Team

João Galego May 17, 2018

Hi José,

Until then, one workaround is to make the "Description" field Optional in that particular project.

That's what I thought.

There is an issue in our backlog to improve this. You can vote for it and watch that issue here XRAY-2510.

I'll do that. Thanks for your feedback!

Kind Regards,

JG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events