Jira automation to close issue created in between times keeps failing

edmund dela cruz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2025

Good day, 

Im new to Jira Automation and I was tasked to close issues created between 11pm PT to 6 am PT. I created an IF condition but it keeps failing. Incident status was Open and testing was done from 4 am - 6 am PT. Could you please assist? Thank you in advance!

 

2025-02-05_05-12-11.png2025-02-05_05-11-22.png

Incident was Open

Screenshot 2025-02-05 052532.png

2 answers

1 vote
Luka Mack
Contributor
February 5, 2025

Hello @edmund dela cruz 

Do you have a transition in the workflow that leads from the Open status to the Resolved status?

edmund dela cruz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2025

Hi Luka, 

Thanks for replying. 

Yes, there is a transition. Please see below:

Screenshot 2025-02-05 234904.pngScreenshot 2025-02-05 234945.png

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2025

Have you verified that the failure is on the time condition? I am not sure but should you use "H" instead of "HH"? 

For troubleshooting purposes, I would remove the time component altogether and see if you can get the rule to behave as expected. Then add in the appropriate time condition.

edmund dela cruz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2025

Hi Jack, 

Thanks for your response. 

After a few tries, I was able to make the automation work using the following:

2025-02-06_00-52-48.png

Like Jack Brickey likes this

Suggest an answer

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

Atlassian Community Events