Recherches récentes


Pas de recherche récente

Add Text Custom Field Value as a Tag?

Avec réponse


Publication le 14 oct. 2019

Hey!

    I'm currently on the professional plan, without the productivity pack included.  When I create a custom text field, I don't see a way to have the inputted value be added to the ticket as a tag without manually doing so which kind of defeats the intended purpose in my use case.  So in short, I'd like the following to occur:

1) Agent adds "LY005555" to custom text field

2) Upon submission, that field's contents gets added to the ticket tag section for reporting. 

Any thoughts on creative workarounds?  Thanks!


0

14

14 commentaire

So I've tried to set this up and it works for about a month, and then we get a message that there were too many failures and the extension was disabled. I thought maybe the trigger was firing too many times per ticket, so I set up the trigger using tags to only fire once per ticket. But when I made the update the extension disabled within an hour. 

Any ideas what may be causing it? Let me know if I need to provide any specific information.

0


You're welcome!

0


Thank you Sebastiaan!

    Your solution worked perfectly.  For anyone who is trying to solve the same problem, follow the tutorial above.  Cheers!

 

0


Hello Josiah,

This can be done with a little workaround.

First you'll need to create a HTTP target (admin > settings > extensions):

The URL should be:

https://<subdomain>.zendesk.com/api/v2/tickets/{{ticket.id}}/tags.json

Replace <subdomain> with your subdomain. The username should be appended with '/token' and for the password provide an API key.

Now you'll have to create a trigger. Conditions will be somewhat like this ('Custom text' is my custom ticket field):

And the action something like this:

Make sure you replace the id with your custom field id.

{
"tags": ["{{ticket.ticket_field_<id>}}"]
}

With kind regards,

Sebastiaan
Sparkly ⭐

0


Se connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication