Auto-population of Secondary Contacts (CCs) field using a custom function
My support team needs to CC the appropriate administrative contact for an account on ticket closure. Our default template for Accounts in Desk includes custom fields to capture the names, and email addresses of 4 different administrative contacts.
I have written a Deluge script that queries the appropriate contact email address based on the category assigned to a ticket. What I can't seem to find is a way to take that value and populate it into the Secondary Contacts (CCs) field of the ticket. Can these field be populated using a custom function, and if so, how do I accomplish that?