Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Search Tests WithNo PlanTest

Hello,

I'm trying to perform a search in jql to find all tests from the last month that don't have a test plan associated with them.

I have searched and found the following commands: testsWithNoTestSet, testsWithoutTestExecution... But I would need something similar to testsWithoutPlanTest, but that doesn't exist... is there any other way?

This is the current code:
type = Test AND created >= startOfMonth(-1) ORDER BY key ASC

4 answers

I still can't get it. My intention is only show the tests (of all my project) that do not have a test plan associated...

 

Thanks!

Marc Koppelaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 08, 2023

HI @Mikel44 

Are you using a specific test app from the marketplace in your instance, if so which one?

Is there any information in there documentation on JQL options that can be used?

0 votes
Marc Koppelaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 07, 2023

HI @Mikel44 

Are you using a specific test app from the marketplace in your instance, if so which one?

Is there any information in there documentation on JQL options that can be used?

0 votes
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 07, 2023

Hi @Mikel44 

 

Have you try to save your filter "type = Test AND created >= startOfMonth(-1) ORDER BY key ASC with name "MonthTests"

 

Then run another query 

type = Test AND created >= startOfMonth(-1) and issue not in testPlanTests("MonthTests")

 

Regards

The same number of results appear as in the previous one... :(

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 15, 2023

Can you try to save a filter with this query (eg, name it AllTestPlan)

type = "Test Plan"

Then do another query with

type = Test AND created >= startOfMonth(-1) and issue not in testPlanTests("AllTestPlan")

 

Regards

0 votes
Sanjen Bariki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 07, 2023

Hi @Mikel44 ,

 

Welcome to atlassian community!

Please find the below JQL.

project = "XYZ" AND issuetype = Test AND created >= startOfMonth(-1) AND created <= endOfMonth(-1) AND issue not in testExecution("status = PASS OR status = FAIL")

 

Kindly let me know, Is the JQL worked properly or not..?

I will try one more JQL.

 

Regards,

Sanjen Bariki

This code gives me an error :(

Suggest an answer

Log in or Sign up to answer