I send reports on Fridays. So, I need to retrieve issues closed after last Friday and the Friday I send the report. I tried to play with EndOfWeek() and StartOfWeek() functions but I'm afraid I am missing something. The output is not correct.
What query did you try?
status changed to closed after startOfWeek(-1) before endOfWeek(-1)
will get you issues where status was changed to closed between last Sat morning and this Sat morning. I went for Sat morning because you need to omit last Friday but include this one. Does that wok for you?
You can tweak the duration as you wish.
Hi Jobin,
Thank you for your help!
I used different combinations of these functions and +/- of days and weeks and got completely confused. Your query works if I change second minus to plus:
project = "TEST PROJECT" AND status changed to closed after startOfWeek(-1) before endOfWeek(1)
This one retrieved the right data.
Thanks again,
Darya.
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.
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.