/build/static/layout/Breadcrumb_cap_w.png

Ticket rule to create a new ticket based on a selection entry

First, if there is a question someone has already posted with a solution to this, please link it. I have struggled to find anything.

What I want is a ticket rule that will generate a new ticket using most of the same information but in a new queue. Specifically this is for my new user ticket queue. If they select YES on the question if they need a phone or extension changes made I want it to create a new ticket in the telecom ticket queue. If this can be linked as a child ticket that would be even better.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: chucksteel 4 years ago
Red Belt
0

Regarding searching on ITNinja, I find it much more effective to use Google:

https://www.google.com/search?q=site%3Aitninja.com+ticket+rule+create+ticket&oq=site%3Aitninja.com+ticket+rule+create+ticket

The first result for me is in regards to scheduling ticket creation, but the concept is the same:

https://www.itninja.com/blog/view/scheduling-ticket-creation



Posted by: JordanNolan 4 years ago
10th Degree Black Belt
0

I have an idea that I have not tested it, but I think it would work.

Use the wizard to create a ticket rule for the On Save event where someone selects YES for your option.  Change the UPDATE statement on the rule to an INSERT statement with the key values you need for the new ticket and be sure you set it to the Phones queue ID.  Since the [HD_TICKET].[ID] field is an auto-increment field you would not have to insert that.  I do not have a list of fields that are required fields, for inserting the records so you will have to play around with that.


For example:

INSERT INTO HD_TICKET (

  TITLE, SUMMARY, HD_PRIORITY_ID, IMPACT_PRIORITY_ID, OWNER_ID, HD_QUEUE_ID

) VALUES (

  'This is the title', 'This is the summary', '3', '3', '99','2'

)

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