Closed Dimitri281 closed 2 years ago
i have resolve on rocketchat side with add of litle script in incoming webhook :
class Script {
process_incoming_request({ request }) {
return {
content:{
text: 'Ticket ID : ' + request.content.ticket_id + '\n' + 'Sujet : ' + request.content.subject + '\n' + 'https://GLPI/front/ticket.form.php?id=' + request.content.ticket_id
}
};
}
}
Hello ,
i've tried to integrate fpwebhook with rocketchat but when the webhook was sent the bot message in rocket chat is empty,
i'am on : GLPI : 9.5.6 FPWebHook 1.0.1
I tried to catch TicketCreated event the webhook subscription is configured with the webhook url gived by rocket chat when the integration was created (https://myrocketchat.lan/hooks/0XXXXXXXXXXX/XXXXXXXXXXXXXXXX) .
Cdlt,
Dimitri