You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.