/build/static/layout/Breadcrumb_cap_w.png

K1000 Service Desk: Finding Labels for fields in SQL

Another SQL newbie question. I'm trying to customize the SQL for emailing tickets to include Ticket URL and Ticket History. I'm guessing I need to tell the select query to get that information first before it can be put in the email that gets sent, but I don't know what those variables are or how to find them. I downloaded MySQL Workbench per recommendations at Kace Konference, but don't know how to connect tot he database or navigate the tables to find what I'm looking for. Thanks for all the help for such a n00b.


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: tshupp 11 years ago
3rd Degree Black Belt
1

For the ticket URL, you should be able to addthe following to the ticket email:

View this ticket online at http://yourKACEdomain/userui/ticket?ID=$id

I believe the same can be done with $ticket_history.

The following symbols are available in templates for email involving tickets:

$ticket_escalation_minutes, $ticket_priority, $ticket_number, $ticket_title, $ticket_url, $ticket_history, $ticket_submitter_name, $ticket_submitter_email, $ticket_owner_name, $ticket_owner_email, $change_desc


Comments:
  • The url worked, but the ticket history variable just gave the variable for some reason. Does the variable have to be set in the query first? - lmland 11 years ago
  • Yes all variables must be set in the select query - jdornan 11 years ago
  • Sorry to keep asking simple questions, but I can't figure out what column is the ticket history column to set the variable in the sql. I am looking at the tables in MySQL Workbench under HD_TICKET. What am I missing? I know it's a really simple thing. Does Kace have a list of these columns somewhere for easy reference? - lmland 11 years ago

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