You are not logged in.
Is it possible to call an external REST API when a task is created on a ticket, when it is edited or when it is deleted?
Also calling curl like this would fit:
$ curl -s -X POST -d "glpiactionnumber=10000&glpiticketnumber=1500&..." https://...| json_pp
Matteo
Offline
Currently? No.
In GLPI 10.1 there will be an outgoing webhooks feature though which lets you select an event like "Ticket Task - Add" and send a customizable payload (with access to the details of the new task and the ticket) to a URL. The URL itself can even be dynamic, using properties of the task/ticket.
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
Excellent, very interesting, thanks!
Offline
Hi,
is there a release date for GLPI 10.1?
Thank you,
Matteo
Offline
It will be called GLPI 11 now, but no there isn't a release date yet. We are still working on some major features for that version.
You can get an idea of what is being worked on for this version in the related GitHub milestone.
https://github.com/glpi-project/glpi/milestone/49
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
Is it possible to call an external REST API when a task is created on a ticket, when it is edited or when it is deleted?
Also calling curl like this would fit:
$ curl -s -X POST -d "glpiactionnumber=10000&glpiticketnumber=1500&..." https://...| json_pp
Matteo
I haven't used it myself yet but I believe there is a webhook plugin in the GLPI marketplace? Perhaps that will work for you until GLPI 11 is released
Offline