Searching issues with JQL based of time of day

Hi,

 

I need a JQL search in JIRA which finds issues created during nighttime. Can someone tell me if it is possible?

something like "created after 1:00AM and created before 7:00AM and created after 1.1.2015 and created before 31.12.2015".

BR,

Andris.

2 answers

As far as I know you can search for issues created in a specified time interval for a specific date, but you can't search for issues by time for a date range.

For example to find the issues created between 1AM and 7AM today you can use the query below:

created >=startOfDay(1h) AND created <= startOfDay(7h)

If you want to search for the same in a date range - you may try to create a custom post-function. I'm not aware of an add-on providing such functionality but you may try searching the marketplace for such an add-on.

Hi @Andris Grinbergs,

Hope you are doing well.

Were you able to achieve that output ?

Suri

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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

207 views 2 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