You are not logged in.
Hi,
We have been trying to integrate GLPI with an external ITSM tool to create tickets automatically based on the certificate expiry reminders.
We have followed all the steps except step 9 listed in this link : github.com/ericferon/glpi-webhook/wiki/Webhook
For some reason we are unable to find the webhook entry as a contact in the notification recipients list.
Are there any other additional steps to be followed to get webhooks under the recipients list?
Regards,
JF45
Offline
Do you have any warnings or errors in the GLPI logs (files/_log folder) when you try finding these recipients in the list?
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
No, there are no errors in logs while finding these notification recipients
Offline
We just found out that the webkhook plugin function seems to have a condition that GLPI => 10.0.3 version but we are still in 9.5.12. We are assuming that this could be the reason for this issue. If it is otherwise then do let us know.
Offline
I'm testing the webhook plugin on GLPI Community 10.0.7 and I'm having the same problem.
We have followed all the steps except step 9 listed in this link : github.com/ericferon/glpi-webhook/wiki/Webhook
For some reason we are unable to find the webhook entry as a contact in the notification recipients list.
Offline
Add the webhook entry to the notification recipient directly to the database. And in this way the webhooks began to work.
INSERT INTO `glpi_notificationtargets` (`id`, `items_id`, `type`, `notifications_id`) VALUES (NULL, '1', '99', '105');
items_id => /marketplace/webhook/front/config.form.php?id=1
type => /marketplace/webhook/inc/config.class.php const (WEBHOOK_TYPE = 99)
notifications_id => /front/notification.form.php?id=105
Notification templates - Email text body
{
"id": "##ticket.id## ",
"name": "##ticket.title##",
"type": "##FOREACH LAST 1 tasks####task.category####ENDFOREACHtasks##",
"state": "##FOREACH LAST 1 tasks####task.status####ENDFOREACHtasks##"
}
Webhook Raw Content
{
"id": "0000637 ",
"name": "MANTENIMIENTO PREVENTIVO SG-MG01",
"type": "LISTA DE CHEQUEO",
"state": "Done"
}
GLPI 10.0.7
Offline