Trigger Endpoint Workaround for Adding CCs to Ticket
I have a workflow set up where a user will create a new ticket, set a handful of fields and submit a ticket which triggers an endpoint to update the ticket and send a public message to the requester.
I want to use this so I can use liquid syntax to send a perfect email based on the ticket fields.
One of the handful of fields that a use will fill out is a 'Salesperson' field and then part of the trigger series I want to set the email_ccs to PUT the salesperson email so they are included on the email that goes out to the client.
I am running into a brick wall, however, because a new ticket needs a description (in this case an internal note) in order to be submitted. Thus when I use the set email_ccs API I am not able to actually update the CC because of the rule outlined in the link below, "Email CCs will not be updated if an internal note is also added to the ticket in the same update."
How can I get around this rule? I really don't want to have our users submit the ticket once with an internal note and then have to submit again using a macro.
Please sign in to leave a comment.