SEARCH SYNTAX for issues updated in past 2 days?

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

0 vote

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"

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

77 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you