SEARCH SYNTAX for issues updated in past 2 days?

Kate Roberts 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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 September 15, 2020

thank you

Suggest an answer

Log in or Sign up to answer