Hi,
I want to get the issues updated or created yesterday in Jira; today is January 16. I have added a query.
project = "Jeeny Reboot" AND (created < endOfDay(-1) OR updated < endOfDay(-1))
But the query returns me the issue created or updated by today or even created or updated by the 12th of January. Why is this happening?
Thanks in advance,
Please try something along the following lines:
project = "Jeeny Reboot" AND ((created >= startOfDay(-1) AND created <= endOfDay(-1)) OR (updated >= startOfDay(-1) AND updated <= endOfDay(-1)))
Hi @Tehmina Aslam,
You'll need to add the start of the day as well in order to restrict your search to just yesterday. Try the following instead:
project = "Jeeny Reboot" AND
((created >= startOfDay(-1) AND created <= endOfDay(-1)) OR
(updated >= startOfDay(-1) AND updated <= endOfDay(-1)))
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tehmina Aslam
Please try below JQL:
project = "Jeeny Reboot" AND ((created >= startOfDay(-1) AND created <= endOfDay(-1)) OR (updated >= startOfDay(-1) AND updated <= endOfDay(-1)))
Regards,
Sushant Verma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.