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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

106 views 2 0
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