API and Ticket Templates
I have a use case where what I would like to do is have one Service on the catalog create multiple tickets. The idea is that we get a new contract, and one of our Implementation folks goes to the catalog, fills in a few details, and the myriad tickets that we use for a new contract are all created and pre-filled.
What I want to do: Have that Service create a single ticket with a Workflow that creates the tickets. I would like to use Ticket Templates but I can't find anywhere to be able to call the API to create tickets using templates. I know I can "brute force" by using the API to create the tickets directly, but using templates would be more scalable and maintainable, especially since the templates could be maintained/updated by Implementation instead of me.
So, is there a way to do what I'm trying to do? Thanks!
Answer (1)
Hello Patrick,
You could just have the ticket creation Web service method calls reference applicable forms and configure the forms to hold the proper values needed.
We're making a change soon that will allow referencing the form ID (and not including all of the specific fields from that form) in an API call will create a ticket and default any values from the form into the ticket upon creation. This isn't implemented yet, but soon it will be and I think the form would act as your "ticket template" to create the right ticket and populate the right field values for you.
Thanks! - Patrick LaFollette Thu 3/2/23 4:48 PM
I think that ought to mean as long as your form has the Task Template field included in it in the TDAdmin design view, and the task template itself has been built out as needed, it should apply it.
Have you tested this yet? - Mark Sayers Fri 9/8/23 12:33 PM