Forums

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

can't get testsWithNoTestSet() function to work

Douglas Navarro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2018

According to this documentation a query such as ' issuetype = Test AND key in testsWithNoTestSet()'  should return every test issue in the project that has an empty 'Test Sets' field. However this query returns nothing, even though I am sure such issues exist. I tried running a simple 'key in testsWithNoTestSet()' to no avail either. The query 'key not in testsWithNoTestSet()' seems to work though. What am I missing?

2 answers

0 votes
Konstantin Lyovin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 11, 2018

This function also does not work for me :(

0 votes
Shaun S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2018

Hi Douglas,

 

I installed the plugin my jql query returned the expected results once I configured a few aspects of the project. 

The issue type "Test" must be added to an issue type scheme for a project. 

An issue must exist that has the issue type "Test" and cannot be linked to the "Test Set" issue type.

 

If you create a new issue with issue type "Test" and then run the jql query 

key in testsWithNoTestSet()  

does that issue appear in the list? If not, performing a background reindex may resolve the issue as well.

Suggest an answer

Log in or Sign up to answer