Filtering test executions by linked issue sprint

Fay Redford September 1, 2022

We are using Xray and piloting test executions in sprint.  Numerous hours have been spent trying to filter Test Executions by related Test type Sprint field without success.  Short of forcing testers to add the sprint to each execution can anyone suggest a jql that will filter by related issue sprint?

:)

2 answers

0 votes
Tauscher_H-D November 30, 2022

Hello, 

I think we got it to work like this:

Tests linked to Stories of current sprint:

project in ("PROJA", "PROJB") 
AND issuetype = Test
AND issueFunction in linkedIssuesOf("Sprint in openSprints() AND Sprint not in futureSprints() and issuetype = Story")

 

From the question it seems like you asked for this but i think going over the stories should be sufficient:

Test Executions linked to Tests with in current Sprint:

project in ("PROJA", "PROJB") 
AND issuetype = "Test Execution"
AND issueFunction in linkedIssuesOf("Sprint in openSprints() AND Sprint not in futureSprints() and issuetype = Test")
0 votes
Tauscher_H-D November 28, 2022

Hello, Fey,

Did you ever get a solution for this? It would be very interesting for us to have that as well.

Suggest an answer

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

Atlassian Community Events