Jayer 0 Posted February 9 Hello, Currently I'm using hooks TicketOpen and TicketOpenAdmin both of them gives me ticketid. I need same ticket ID when importing/piping emails to department as tickets. TicketPiping not giving it. Have you any idea how to get it? Thanks Share this post Link to post Share on other sites
steven99 23 Posted February 11 From the description of that hook, I believe it fires before TicketOpen or Ticket reply hooks for example and so no ticket number is set because it has not been processed. You could look in the database for the same subject, body, etc to do a best match possible. Are you handling the piping for a special reason that can't be handled by the open and reply hooks/ Share this post Link to post Share on other sites
Jayer 0 Posted February 11 12 minutes ago, steven99 said: From the description of that hook, I believe it fires before TicketOpen or Ticket reply hooks for example and so no ticket number is set because it has not been processed. You could look in the database for the same subject, body, etc to do a best match possible. Are you handling the piping for a special reason that can't be handled by the open and reply hooks/ Thank you for reply. I'm using TicketOpen and TicketOpenAdmin hook for my code and it works. But I need to do same task when user opens ticket by sending email to department's email. As I see in the description of TicketOpen it only fires when user opens ticket from admin area. Share this post Link to post Share on other sites
steven99 23 Posted February 11 Just did a test and ticketopen fires when whmcs does at least pop3 pulling and so would expect piping to do the same as well as the other ticket reply hooks. Share this post Link to post Share on other sites
Jayer 0 Posted February 13 On 2/11/2019 at 11:47 PM, steven99 said: Just did a test and ticketopen fires when whmcs does at least pop3 pulling and so would expect piping to do the same as well as the other ticket reply hooks. I have checked it too. It works. Thanks for replies. Share this post Link to post Share on other sites