How to get the last execution per each release?

Marta Hoshko December 19, 2022

Hello,

I've been trying to create a query to show only the last test execution for each Fix Version value.

Here are the test executions:

shot_221219_183732.png

and I would like to know the last execution for Fix Version N1 and for N2 (in separate query). In my case, the first test execution for Fix Version N2 was "Fail" and the second execution was "Pass", so I would like to see only the second test execution "Pass" in this case.

 If I create the following query, then it returns with both test executions: TestExecution1, TestExecution2:

project = lppx AND issuetype = "Test Execution" AND cf[28218] in (cascadeOption(Manual, OAT)) AND fixVersion in ("N2")

 

if I create the following query, then it always returns with the same testrunstatus: PASS (it should be conditional-pass)

project = lppx AND issuetype = "Test (Xray)" AND cf[28218] in (cascadeOption(Manual, OAT)) AND affectedVersion in ("N1").

 

Question: how to show only the latest test execution for each Fix Version? I would appreciate any help.

Thanks. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events