/build/static/layout/Breadcrumb_cap_w.png

Email Alert on Unassigned Tickets

Is there canned alert to send an email when a ticket has sat in a queue unassigned longer than a specific period of time? I have folks create tickets that do not get assigned to a user and the system does not escalate if no one has touched it after two days

0 Comments   [ + ] Show comments

Answers (4)

Posted by: jverbosk 12 years ago
Red Belt
1
I played with this along with a tip from GillySpy how to specify an email address in the Email Column field and cam up with the following. Working fine here, although not sure if it's entirely clean. Hopefully this can save someone else some time.

John
______________________________

Title:
Unassigned Tickets

Order:
11

Notes:
Sends an email when a ticket has sat in queue longer than specified period (1 hour).

Frequency:
15 minutes

Select Query:
Select 'you@company.com' as SUPPORT, T.ID as ID, T.TITLE as Issue, S.FULL_NAME as Submitter, T.CREATED as Created FROM HD_TICKET T
JOIN USER S ON (S.ID = T.SUBMITTER_ID)
WHERE T.CREATED < SUBDATE(NOW(), INTERVAL 1 HOUR)
AND T.OWNER_ID = 0
ORDER BY T.ID ASC

______________________________

X Send an email for each result row

Subject:
Unassigned Ticket

Email Column:
SUPPORT

Email Body:
Unassiged ticket in queue, please review.

$created
$id
$issue
$submitter
______________________________
Posted by: davids 12 years ago
Senior Yellow Belt
0
Hey James,

You can definitely do this with a ticket rule mate. You could write something a bit like this

Select T.ID as TicketID, T.TITLE as TicketTitle, T.CREATED as TicketCreated
FROM HD_TICKET T
WHERE T.CREATED < SUBDATE(NOW(), INTERVAL 2 DAY)
AND T.OWNER_ID = 0
ORDER BY T.CREATED ASC


You could set as a result to this to email certain people with the details of the tickets it outputs.
I'd set this rule to run on a schedule, maybe every 2 hours.

-Dave
Posted by: James@Grow 12 years ago
Orange Belt
0
Thanks, let me see what I can break, er do.
Posted by: jverbosk 12 years ago
Red Belt
0
One tweak I made to the Email Body section for clairty:

Unassiged ticket in queue, please review.

Created: $created
Ticket ID: $id
Issue: $issue
Submitter: $submitter
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ