Skip to content

Instantly share code, notes, and snippets.

@apanzerj
Created January 3, 2013 18:03
Show Gist options
  • Save apanzerj/4445437 to your computer and use it in GitHub Desktop.
Save apanzerj/4445437 to your computer and use it in GitHub Desktop.
Apply Tags To a Ticket JS
function ajp_apply_macro(case_id) {
var ticketForm = jQuery("#ticket-chat"), this_id = "0";
new Zendesk.API.Macro(case_id).applyToTicket(this_id, ticketForm)
return false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment