You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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:
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 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 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.