Forums

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

SEARCH SYNTAX for issues updated in past 2 days?

Kate Roberts
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!
September 24, 2012

So that I can subscribe to be alerted (every 2 days) for 'open' issues updated in the past 2 days, I have just tried to set up a filter for issues updated in the past 2 days see below, but it returns all ('open') issues.

Is my syntax wrong?

QUERY STRING IS:

project = WDTS AND (summary !~ SMS- OR description !~ SMS- OR comment !~ SMS- OR environment !~ SMS-) AND (status = Open) AND (updatedDate <= '2d') ORDER BY updatedDate DESC, key DESC

Kate

1 answer

3 votes
Nic Brough -Adaptavist-
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.
September 24, 2012

Look carefully at the issues returned - I think you'll see that you're returning most, but not all, of the issues in the project.

I read your date clause as "updated date is more than, or equal to 2 days". I think you actually want "updated date after two days ago", for which the JQL is "updatedDate >=-2d"

kimseungtae
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!
September 15, 2020

thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events