Jump to content

New ticket notification to admins, customize?


Go to solution Solved by bear,

Recommended Posts

Have an email notifier to let me know of new tickets. I'd really like to have the name of the person who opened it included, but notification merge files in the "default" template don't offer that. Even the email of the client that opened it would be helpful if not the name. Currently I get only Ticket opened (with link) and by user # at the end of that user's link. Any way to get the user name or email also? Can't seem to find it. Admin email notification only.

Link to comment
Share on other sites

  • 1 month later...

The merge fields are limited because that message comes from the Notifications feature (Configuration > System Settings > Notifications). Its email text is not a template, so the client name cannot be added there.

The built-in admin email is the one to use:

  1. Go to Configuration > System Settings > Email Templates and open the Admin Messages group.
  2. Edit New Support Ticket Opened. The editor lists the fields you can use under Available Merge Fields; the client name and the ticket subject, department and message are among them.
  3. In Configuration > System Settings > Administrator Users, edit your admin and tick the departments under Support Ticket Notifications, otherwise that email is not sent to you.

If you only need this email, you can then switch off the Notifications rule for new tickets so you do not get two messages for each ticket.

Menu names are from WHMCS 8; in 7.x the same screens are under Setup. If the ticket is opened by a guest (no client account), the template has the name and email the person typed into the form.

Link to comment
Share on other sites

21 hours ago, keshav said:

The built-in admin email is the one to use:

  1. Go to Configuration > System Settings > Email Templates and open the Admin Messages group.
  2. Edit New Support Ticket Opened. The editor lists the fields you can use under Available Merge Fields; the client name and the ticket subject, department and message are among them.

That doesn't exist under admin emails or in fact anywhere in the email templates.

Link to comment
Share on other sites

Thanks, but already did so.  The issue is it's not grabbing any details of the sender/opener. Most of mine are done via email that's piped in, and the only time it will give an email is if the sender is a guest. Never gives a name. As soon as it recognizes someone as being in the system, it gives me a ticket link and a userid, both of which are useless, as I know where tickets are found, and haven't memorized userids/names to the point where I'd recognize them.

No vars available that make a difference, either.

Link to comment
Share on other sites

  • Solution

Asked support, and as predicted this is customization and not something they can help with. 
Would have been great if they mentioned the notification template is not editable as it lives behind the encoded files, which would have saved a lot of frustration, but hey!
I'm guessing "New Support Ticket Opened." may have been a prior WHMCS version. Looking back in the email template sql files (v7x, v6x, v5x and so on), that was that title, but it was in support (not admin), and had client type info vars in it.

So, for me, the workaround was to discontinue using the notifier (email) for support, which was sending to an account that had a special ring tone on my mobile so I know something's up. Instead set up the admin account to get notified for each support department (various triggers) via the admin account settings (appears this template is also hard coded somewhere), and changed the notifier to only send me items other than tickets.
Last step, email filter to take messages to the admin addy and a subject that has "[Ticket ID" at the start and forward that to the special email addy with special ring tone. 

Best of both worlds, but still testing over time to make sure this doesn't bugger anything else up. Appreciate the responses, and hope this is of some use for someone. 
Phew. 

Edited by bear
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   1 member

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated