setValue not working for requester fields


Essentially I'm trying to write code for a custom app which will open a reply but switch the To email with the first CC email for a use case we've found.


I notice in the docs that setValue can be used for To, CC, Requester email as well as other fields, BUT I cannot seem to use setValue for requester or To (Ideally I would like to update the ticket changing the requester's email address.


 

client.interface.trigger("setValue", { id: "email"value: ["some@email.com"] }); doesn't seem to work.

I know how to edit the requester email address manually, but I would like to do it with a custom app.
Login or Signup to post a comment