Calling a URL Target for new comments on a ticket

In a sample application I just created to test out the URL Target extension type, I noticed my target is only called when new tickets are created, not when comments are added to the ticket. This means my sample application only has a record of the first comment for every ticket created.

How can I synchronize ticket comments with my sample application? From here it looks like I can either poll open tickets on a schedule using the API, or create a JIRA target instead, mimicking whatever JIRA specific responses Zendesk is expecting from a JIRA instance.

A great solution would be a URL Target that gets call whenever there is activity on a ticket, so I can pull it using the API to find out exactly what changed.


  • 0

    Dave, are you firing the Target against a Trigger looking only for ticket creation? Targets are controlled by Triggers. 

  • 0

    I didn't know there was an option to associate any kind of trigger rules against the target. I created the target by going to Settings > Extensions > Targets, without any mention of triggers.

  • 0

    Jake, I take it all back. I should be able to achieve what I want by creating a trigger that gets fired when a Ticket is 'updated' instead of 'created'. Thanks for your help.

Post is closed for comments.