I'm currently working on building automation for any service requests sitting in the status named "Waiting for customer". The idea is when the ticket has been sitting for one day and three days, it will automatically respond with a comment to the ticket. On the fourth day, it will automatically respond one last time and transition the ticket to the "Resolved" state. I am also in need of it (If possible) to look and see if any of the days sitting in the "Waiting for customer" status are Saturday or Sunday. If either of those days are included in the status wait-time, ignore those days for the count.
This is what I have so far:
When: Issue transitioned
TO
Waiting for customer
Branch Rule / related issue
For: Current issue
If: Issue matches JQL
status = "Waiting for customer" AND (status changed BEFORE -0d AND status changed AFTER -2d)
Then: Add comment to issue
(Comment goes here)
Branch Rule / related issue
For: Current issue
If: Issue matches JQL
status = "Waiting for customer" AND (status changed BEFORE -2d AND status changed AFTER -4d)
Then: Add comment to issue
(Comment goes here)
Branch Rule / related issue
For: Current issue
If: Issue matches JQL
status = "Waiting for customer" AND status changed BEFORE -3d AND status changed AFTER -5d
Then: Add comment to issue
(Comment goes here)
And: Transition the issue to
Resolved
I'm struggling to figure out a way to make the weekend thing work. Any assistance or suggestions would be greatly appreciated!
I'm unsure if it works, but this is what I've come up with.
When: Issue transitioned
TO
Waiting for customer
Branch Rule / related issue
For: Current issue
If: Compare two values
Checks if:
{{now.minusBusinessDays(1)}}
Then: Add comment to issue
(Comment goes here)
Branch Rule / related issue
For: Current issue
If: Compare two values
Checks if:
{{now.minusBusinessDays(3)}}
Then: Add comment to issue
(Comment goes here)
Branch Rule / related issue
For: Current issue
If: Compare two values
Checks if:
{{now.minusBusinessDays(4)}}
Then: Add comment to issue
(Comment goes here)
And: Transition the issue to
Resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.