Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,000
Community Members
 
Community Events
185
Community Groups

jira filter by time of day

I want to create a filter to collect issues based on the time of day they are created, regardless of date, and another filter for the time of day resolved.

My goal is to determine how many issues are being created and how many resolved during U.S. business hours vs. how many are created and resolved during India business hours. The date is not relevant to this query.

Any suggestions? I searched for an answer, and everything I found includes having to specify dates either explicitly of relatively using "startof" functions.

We are using JIRA 6.3.12 now, and have plans to move to JIRA 7.1.

We have the JQL Tricks Plug-in v5.3.10, but I didn't find anything there.

https://marketplace.atlassian.com/plugins/com.j-tricks.jql-plugin/server/overview

2 answers

Can we do - 

created &gt;>= startOfDay("8h") AND created &gt;=< startOfDay("17h")
0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 02, 2016

You do not need a plugin for this as they are standard functions in JIRA. Will this work?

ceated &gt;= startOfDay()

You can then use arguments inside the function to find issues created after a specific time. For example, issues created after 8:00AM will be:

created &gt;= startOfDay("8h")

You can also use negative values to go back in time if you want to find issues created in a different timezone. Use other functions like endOfDay to filter them down further.

Also, these functions works related to the timezone of the user running the function.

Hello Jobin,

Thank you for your suggestion. That is not what I'm looking for.

For example, I want to be able to filter to find all issues that were created between 8:00 a.m. and 5:00 p.m. I want this to search all issues, regardless of the date they were created. startOfDay assumes today's date.

If I want to constrain the results based on dates, I want that to be an entirely criteria from the time of day criteria.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 05, 2016

Ah, I see. This will have to be a custom developed function then. You might want to create a feature request for JQLT.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events