Get notify when a ticket is closed
Hi,
I want to write a script that will be executed every time a ticket will be closed(or solved). The script will pull the closed ticket data and will push it to another service we use.
The script will probably run on AWS Lambda so I could make a URL that will trigger the script but still will have to pass somehow the ticket id.
I will be happy to hear any tips or suggestions!
Thanks
-
Hi Alon! We have event connector that works with Amazon EventBridge that will get you what you want. Specifically, you'll want to use status change ticket event, which doesn't allow you to listen for a specific event (in your situation, ticket moving to solved), but you could check the response payload for something like this:
{
...
"detail": {
...
"type": "Status Changed",
"previous": "open",
"current": "solved",
...
}
}Let us know if you have any other questions!
Iniciar sesión para dejar un comentario.
1 Comentarios