Forums

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

JQLQuery

Eric Roetenberg
Contributor
October 19, 2023

Hello

I am looking for a JQL that does the following
Of a number of projects all issue that meet the following Resolved date is greater than xxxxxxx or resolved date is empty

If I do it like this I also get all issues from projects that are not in the JQL


project in (ISMSP, ISMT, PCMMWR, PCMRPA, SCSCPC, SCSIAM, SCSIK, SCSIP, SCSIAMBST, SCSSOC, WPLS, WPLDW, WPLITS, WPLCCT) AND resolved >= 2023-10-02 or resolved is EMPTY

 

Grtz.  Eric

2 answers

2 accepted

1 vote
Answer accepted
Craig Nodwell
Community Champion
October 19, 2023

Hi @Eric Roetenberg it's your OR clause.  put the last two statements into brackets.  re:
AND (resolved >= 2023-10-02 or resolved is EMPTY)

0 votes
Answer accepted
Harald Seyr
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.
October 19, 2023

Hi @Eric Roetenberg 

I am not sure, but maybe this is related to the "or" part of your JQL. Please check if brackets fix the issue:

project in (ISMSP, ISMT, PCMMWR, PCMRPA, SCSCPC, SCSIAM, SCSIK, SCSIP, SCSIAMBST, SCSSOC, WPLS, WPLDW, WPLITS, WPLCCT) AND (resolved >= 2023-10-02 or resolved is EMPTY)

Regards,

Harald

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