JQL Question: Isssues created before 8am today and created after 5pm today?

After 5pm today >> created >= endOfDay (-7h) ??

Before 8am today >> created <= startOfDay (8h) ??

 

Thanks

1 answer

1 accepted

with startofday:

After 5 pm: created > startofday("+17h")

before 8 am created < startofday("+8h")

 

or with endofday:

After 5 pm: created > endofday(-7h)

before 8 am created < endofday(-16h)

Thanks @Udo Brand however you cannot use '+' character in the jql. Already tried that. At the moment I am using After 5pm today >> created >= endOfDay (-7h) Before 8am today >> created <= startOfDay (8h)

You can use '+' but you need to put it in quotes, see my examples. However, what you are currently using works also. But does it make sense? Are you trying to find issues that where entered during non office hours?

Ah makes sense. Thanks mate! :) Yeah I am trying to find all the issues that are created during office hours and outside office hours. :)

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,316 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