How set option "Send To" from OTRS API on method TickedCreate -
i want create ticket in otrs system own web service , goal use otrs api (otrs api - merthod "ticked created"). work fine, want send email specific users.
current options request:
$options = [ "ticket" => [ "title" => "title", "queue" => "pt", "state" => "open", "type" => 'unclassified', "priority" => "3 normal", "owner" => 'admin@gmail.ru', // think options set getter email, no 'customeruser' => 'specific_user@gmail.com', ], "article" => [ "sendertype" => 'agent', "articletype" => "email-external", "subject" => "subject article", "body" => "body article", "contenttype" => "text/plain; charset=utf8", "from" => 'admin@gmail.ru' // whom message ] ];
screen after created ticked otrs ticket created
any idea can change in $options.
if create ticket via api, default not trigger sending email customer, not if set article type 'email-external'.
if want happen, best way create new notification (prior otrs 5 'event based notification') described here: http://otrs.github.io/doc/manual/admin/stable/en/html/administration.html#adminarea-ticket-notifications
you can match on ticketcreate event, user created ticket via web service, , maybe other attributes well.
Comments
Post a Comment