Forums

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

Multiple keywords in filter not working as expected

Kay Bowen
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!
January 21, 2022

I'm trying to run a query with multiple AND keywords but I'm not seeing the results I expect.

I want to see all stories that have completed in the current sprint but were over or under-estimated but the below query brings back subtasks and doesn't include the under-estimated items from what I can see

This is my current query:

project = SWOW AND type = Story AND status = Done AND Sprint in openSprints() AND remainingEstimate > 0 OR workRatio > 100

1 answer

2 votes
Support Team [Clearvision]
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.
January 21, 2022

Hi Kay,

Could you try something like:

project = SWOW AND type = Story AND status = Done AND Sprint in openSprints() AND (remainingEstimate > 0 OR workRatio > 100)

 

Using 'OR' without brackets separates your query into 2 parts so you end up getting 2 lots of results essentially. For example you likely have a list of issues matching

project = SWOW AND type = Story AND status = Done AND Sprint in openSprints() AND remainingEstimate > 0

As well as all issues matching

workRatio > 100

Hopefully with it contained after the 'AND' it should treat it that they all must match.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events