Split a request into a new ticket
Often, a requester will request something within an existing ticket. I cobbled something together that allows you to create a new ticket and copy CCs/followers. Be warned, this isn't trivial and you're going outside the realm of what Zendesk considers best practice.
You're going to create a ticket via the API and trigger this by notifying an external target. So, to start, create an external HTTP target. For the URL, use https://YOURDOMAIN.zendesk.com/api/v2/tickets.json but replace YOURDOMAIN with your actual domain. Method is POST. Content type is JSON. Enable basic authentication and put in valid credentials.
Now, you need to build your user interface. I used ticket fields with conditions.
Drop all of those on your form(s). I set a condition to hide all of the fields when Split Ticket? is unchecked. I also require Subject and Description. Note that if you don't have conditional fields, requiring those fields might be problematic. If you leave them as optional you MUST fill out the description otherwise ticket creation will fail.
Next, create your trigger. These are the conditions I set:
And these are the actions:
Note you want the target to be your ticket creation target. The JSON/Liquid is kind of complex, so here is what I wrote. Note: you MUST change the ticket field ID number (the 360036041113 in {{ticket.ticket_field_360036041113}} to match the ID numbers of your unique fields. Sorry, it's horrible to read. I would suggest pasting it into your favorite text editor to help.
Anyway, that's working for us now. Let me know if you have questions.
-
Thanks for sharing this Kevin!
-
Active Feature Request (please vote):
Feature Request: Split a request into a new ticket
I just posted a Feature Request for this at the link below. If you would like to see this feature please head over there and show your support. Please make sure to add an upvote and comment even if it is simply a "+1"
Also, you may consider adding it to your post to get the feature request more visible.
-
I would LOVE to see a simpler way to do this. I have clients respond to the same ticket with new questions over and over and over. It makes tracking their questions very challenging. I love that I can merge tickets, but sometimes I just want to split out a ticket.
-
BTW - it looks like the link to the feature request no longer works.
-
Quetzal DuMont I've actually stopped using my solution above. Now that Zendesk has rolled out side conversation tickets, it's actually a much better solution. It's not perfect for this use case, but it's definitely an improvement.
-
hi Kevin Ford - for Side Conversation Tickets, this doesn't allow us to have the requester be the requester again, correct?
And Alejandro Colon - Your link no longer exists. Can you please repost?
Thanks!
~Naomi -
Naomi Watnick yes, but you have to manually set the requester to the appropriate person.
-
Thanks Kevin Ford - And we still don't have a way to inherit all the same selected values from the original ticket, though, right?
-
Naomi Watnick there is a way using the API but it's not built into Zendesk.
-
Thanks, Kevin Ford - That's great! I can do something with that and I'll put it in our backlog.
-
Great work here, Kevin Ford! I just wish it wouldn't take such a herculean effort just to have what every other platform considers basic functionality.
Please sign in to leave a comment.
11 Comments