Forums

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

JQL filter not working correctly

Jenny Wilder June 10, 2020

I have several JQL filters set up for my dashboard.  They are all set to pull issues that were in a certain status during the sprint but are no longer in that status.  One of the filters is not pulling issues in that I know should be there.  Any idea why this might be happening?Screen Shot 2020-06-10 at 10.47.56 AM.pngScreen Shot 2020-06-10 at 10.47.42 AM.pngScreen Shot 2020-06-10 at 10.48.27 AM.png

1 answer

0 votes
John Funk
Community Champion
June 10, 2020

Hi Jenny - Welcome to the Atlassian Community!

It might be a timing issue. For the example you shared, it might be on the 2 day borderline (today is June 10 and your query says through June 8). Maybe change your query out a day just for fun to see if it shows up.

Jenny Wilder June 10, 2020

Hi John,

Thank you for the suggestion.  We actually have changed the dates to multiple different dates and still the issues aren't showing up.  Any other thoughts?

John Funk
Community Champion
June 10, 2020

That's really weird! If you execute the query outside of the Dashboard do you get the same result (no issues)?

And you have verified that each condition is indeed on the card? So if you take the date checks completely out do you see the cards you expect to see?

And then leave the date checks in but take out the part about the spring that it belongs to, do you see the cards you expect to see?

Grasping here with a little manual debug  :-)

Jenny Wilder June 10, 2020

No, even if I remove the sprint I still get no results and if I leave the sprint but remove the dates still no results. I'm stumped

Bill Sheboy
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.
June 10, 2020

Hi, @Jenny Wilder 

In your screen grab, there appears to be a space within the quotations for the project name in the JQL: "Tech Project Management Curriculum "

Is that the actual name of the project, with the trailing space? If not, that would match no projects and so show no results, right?

Jenny Wilder June 10, 2020

Thanks, Bill.  That's not it either.  When I start typing in my project name I choose the one that pops up and it puts in the space.  The space is also there in my filters that are working.  :) 

Bill Sheboy
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.
June 10, 2020

Very odd... John's advice is a good way to proceed: Find an issue you *believe* should be included in the results, and then build the query piece by piece to figure out what is removing the items.  Then you can adjust accordingly.  For example:

project = X

project = X AND sprint IN (nnn)

project = X AND sprint IN (nnn) AND status WAS old_status

project = X AND sprint IN (nnn) AND status WAS old_status AFTER date1-1d

project = X AND sprint IN (nnn) AND status WAS old_status BEFORE date2+1d

project = X AND sprint IN (nnn) AND status WAS old_status DURING (date1, date2)

etc.

 

When the item disappears from the results, you can investigate and adjust as needed.  

Jenny Wilder June 12, 2020

I ended up opening a support ticket and it seems this issue is related to a known bug that has been being worked on for quite some time :(

Like # people like this
John Funk
Community Champion
June 12, 2020

Can you share the bug here?

John Funk
Community Champion
June 12, 2020

perfect - thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events