-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.0.12
-
None
-
Zabbix 7.0.12, ubuntu24, php8.3, nginx 1.24, PgSQL17
-
Support backlog
Hello,
I found that out-of-the-box webhook/mediatype for OTRS CE does not work without a need to edit script,
When everything is done according to:
https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/otrs_ce?at=release/7.0
Integration fails, and this error can be found in Zabbix Log (alerters set to level 4 of debug):
[ ((OTRS)) CE Webhook ] Response has been received: {"Error":{"ErrorMessage":"TicketCreate: Ticket->TypeID or Ticket->Type parameter is required by sysconfig option!","ErrorCode":"TicketCreate.MissingParameter"}}
I got this error on clear instance of Zabbix 7.0.12,
To solve this i needed to add another parameter "otrs_ticket_type" (and edit script of mediatype), after adding this parameter integration started to work, so operation was also done on OTRS side:
[ ((OTRS)) CE Webhook ] Response has been received: {"TicketID":"102","TicketNumber":"611","ArticleID":346}
BR,
Tomasz