Forums

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

How to import xray test execution tickets to Jira that have some closed xray tests

Varun Kumar May 18, 2023
I am trying to import test execution tickets (Xray) using below endpoint where executionresult json file have xray tests that are closed.

/rest/raven/1.0/import/execution/cucumber/multipart
 
Since tests associated with test plan, whose execution I am trying to import using execution json file are closed, its throwing below error:

The Test <JiraXrayTestID> is in a non-executable status.
 
How to allow its import even with xray tests with closed status.

1 answer

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Champion
May 20, 2023

Hi @Varun Kumar 

within your xray settings there is a configuration that avoids executing tests within a specific status - in your case "closed" (see the screenshot below). As far as I understand the error correct I assume this could be the cause for the problem. Please check that configuration and let me know if this is the case.

image.png

Hope this was helpful.

Best
Stefan

Varun Kumar May 22, 2023

Thanks @Stefan Salzl 

I will get that checked but actually tests do gets executed though they are closed but issue comes while creating execution ticket using the results.

I will get the suggested Xray configuration checked (may be something my company managing on organisation level and not project level.)

Many Thanks for your response, much appreciated. 

Varun Kumar June 23, 2023

Thanks @Stefan Salzl 

As you suggested this setting was causing the issue. Thanks a ton for your help on this.

Like Stefan Salzl likes this
Stefan Salzl
Community Champion
June 23, 2023

awesome. thanks for the feedback :)

Suggest an answer

Log in or Sign up to answer