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

Automation JQL IF Condition Against Specific Time

Edited

Hi all,

I am currently trying to make an automation rule of the following:


If (issue.created) < 8:00 AM CST AND If (issue.created) > 5:00 PM CST

Then

Assign to (user)

Does JQL even have some kind of fuction where I can specify a time to check against? 

1 answer

0 votes
Tim Kopperud
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.
Nov 21, 2023 • edited

Hi @Devin Holland, welcome to Atlassian Community. Yes Jira can check for specific time, though when specifying it by exact time you will need to add the date as well, as in syntax specs for searching date fields

Valid formats include: 'yyyy/MM/dd HH:mm', 'yyyy-MM-dd HH:mm', 'yyyy/MM/dd', 'yyyy-MM-dd'

Based on your search statement I understand you are trying to fetch all issues created outside normal working hours independent of any specific dates. You might try something like this JQL: 

(created > startOfDay() and created < startOfDay("8h")) OR (created > endOfDay("-8") and created < endOfDay())

You don't need to use smart values (e.g. {issue.created}) into JQL filters, use plain field names. 

TimK

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events