Forums

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

"How to map skipped JUnit tests to custom status in Xray?

Oussama Hamdi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 1, 2025

Hi everyone,

I'm working with Jira Xray and have created a custom test status called NOTAPPLICABLE, which I’ve mapped to the TODO category and marked as final. My goal is for skipped tests in a JUnit test report to be reflected as NOTAPPLICABLE in Xray, rather than defaulting to TODO.

However, when I execute tests and import the JUnit XML report, skipped tests are consistently shown as TODO, ignoring the custom mapping.

Here’s what I’ve tried:

  • Created the custom status NOTAPPLICABLE

  • Set it as final and mapped it to the TODO category

  • Verified the test execution workflow includes this status

Is there a way to configure Xray so that skipped tests from JUnit are automatically assigned the NOTAPPLICABLE status? Or is this a limitation in how Xray interprets skipped tests from JUnit reports?

Any insights or workarounds would be greatly appreciated!

Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events