Forums

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

How to set up advanced JIRA filter for created date less than 30/6/18

Nicole_Glen July 3, 2019

Hi All,

 

Looking for some help on the below query please, it works but when i add in the condition on created date, it doesn't like it. Can anyone advise?

 

project = ICR AND (labels not in (SmallChange) OR labels is EMPTY) AND Status not in (Closed) ORDER BY created DESC AND created <= 2018-06-30

 

Thanks

Nicole

2 answers

1 accepted

0 votes
Answer accepted
Michael Thompson
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.
July 3, 2019

Your ORDER BY parameter needs to be the last thing in the filter, like this:

project = ICR AND (labels not in (SmallChange) OR labels is EMPTY) AND Status not in (Closed) AND created <= 2018-06-30 ORDER BY created DESC

Nicole_Glen July 3, 2019

Thanks very much it works now :)

Like Michael Thompson likes this
0 votes
Manuel Bastardo Castellano
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.
July 3, 2019

project = ICR AND (labels not in (SmallChange) OR labels is EMPTY) AND Status not in (Closed) AND created <=2018-06-30 ORDER BY createdDate

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events