search all issues between 08:00 and 18:00

Hi there I would like to make a search result with JQL which selects all issues created between certain times.

So I want to see all tickets created during daytimen (8-18h) regardless the date.

 

Thnx

 

Jeroen

1 answer

1 accepted

Hi Jeroen,

I think that you could use this JQL:

created >= startOfDay(\u002b8h) AND created <= endOfDay(-6)

Where startOfDay() is 00:00 +8 hours (\u002b replaces the plus sign "+") and endOfDay is 23:59 -6 hours.

I hope it helps.

Cheers

Hi Tiago, many thanks for your answer but it doesn't match any results. the JQL statement is excepted but no results. Any idea? Jeroen

Hi Tiago, did a retry and pushed (-6h) instead of (-6). This works and gives you al results of today. Do you also have pointers so I can see all tickets for several days. So for example show in one search all tickets last week created between 08:00 and 18:00

Hi, sorry, my mistake, I forgot to include the "h" in the endOfDay parameter. As for the result for previous days, I'm really not sure it's possible with a single filter, but if you're okay with using multiple filters, you could use something like: created >= "2014-10-06 08:00" AND created <= "2014-10-06 18:00" Cheers

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 yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

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