Forums

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

Search Tests WithNo PlanTest

Mikel44 November 7, 2023

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

0 votes
Mikel44 November 8, 2023

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 - Devoteam
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.
November 8, 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 - Devoteam
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.
November 7, 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 Champion
November 7, 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

Mikel44 November 7, 2023

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

Florian Bonniec
Community Champion
November 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.
November 7, 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

Mikel44 November 7, 2023

This code gives me an error :(

Suggest an answer

Log in or Sign up to answer