Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation for auto assigning tickets in the night refuses to work between set period

Berik Irgebayev
Contributor
October 24, 2024

Hi all,

I built this automation for auto assigning tickets and registering them properly in the off hours. However, it only needs to run between 23:30 and 06:30. This doesn't work. What I want it to do is to delay for 7 minutes before actually running the automation, because sometimes agents pick it up sooner than 7 minutes. So I don't want it to overrule the actual agent. So below you see how I put it together. If I remove the "Created is before 06:30am " and remove "Created after 11:30PM" it picks up everything. Not sure if it actually stops when an agent has picked up a ticket sooner (not that far in testing yet). All I know is that it just won't work between 23:30 and 06:30 at night... Just says Condition not met, but does not show which condition exactly. For the rest it delays and, registers and puts a comment and assigns to the right person, just refuses to run in the time period put in the automation...Any ideas? What am I doing wrong here?

Screenshot 2024-10-23 190246.pngimage.pngScreenshot 2024-10-23 190309.png

1 answer

0 votes
Manoj Gangwar
Community Champion
October 24, 2024

Hi @Berik Irgebayev the created condition should be like

Created after 11:30 PM

And 

Created before 6:30 AM

 

Tobias H
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 Champions.
October 24, 2024

Yep, the conditions are the wrong way around causing it to never be true.

Like Berik Irgebayev likes this
Berik Irgebayev
Contributor
October 24, 2024

oh, let me try that....I will find out tomorrow I suppose, thanks for the advise, @Manoj Gangwar , i sure hope it was just that

Tobias H
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 Champions.
October 24, 2024

It might need to use the IF/Else statement to use if one or more criteria are true

Screenshot 2024-10-24 214853.png

But you are already using it for the incident issue type and priority level, so I am not sure if you could incorporate this somehow and still keep the rest of the logic.

Berik Irgebayev
Contributor
November 1, 2024

Coincidentally, I was not properly able to test the If/Else statement, but did incorporate it. So if all conditions are met the ticket will go to a certain status after 7 minutes. 

But if (or else) an agent has already picked it up then I put "assignee is not empty", so basically if someone already assigned a ticket on their name before the 7 minutes delay, then automation won't do anything (I hope). Thanks @Tobias H 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events