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 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 5 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

71 views 4 4
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