JQL Query All Issues with Status NEW from last Friday 11:00 until Current Time.

New To Jira (Version 7.5.0) and so far managed to set up alone all my needed Filters. I need to have a Filter of all Issues with Status=New that have been created AFTER last Friday 11:00 and even though I read endless Questions I could not find the exact syntex of the Date/Time Query for that. Any Ideas? I want to understand the Logic behind so if necessary I can easily Edit the Filter to show for example Issues since Friday 2 Weeks ago

1 answer

0 vote

It should be yyyy/MM/dd HH:mm

So "Status = New and Created > 2017/10/06 11:00" should do it

Thanks. I actuall got it to work like that:

 

project = XXX AND issuetype = Bug AND status = New AND affectedVersion = v4.0 AND created >= "2017-10-06 11:00" AND created <= "2017-10-10 11:00" ORDER BY created DESC

However, I am looking for a deeper solution that would show me :

 

"AND created >=last Friday" 

 

Thus not by Date, rather last Friday or Sunday, ect.

 

Hope I explain it right?

I thought it might be a bit more dynamic, but didn't want to overload you!

Replace the date clause with

created > endOfWeek(-2d)

To get to "Last Friday" (the end of week varies by timezone, you may need to adjust that). 

What I've not tried here is if you could combine it with (-2d -13h) to go back to 11am.

Thanks. It works with:

 

created >= endOfWeek(-9d)  AND created <= now()

 

I will try to figure out the 11:00 issue :)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,327 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot