Agent history shows the name of the alert action script instead of the alert resolved script #1852
Closed
1 of 3 tasks
Labels
bug
Something isn't working
Server Info (please complete the following information):
Installation Method:
--insecure
flag at installAgent Info (please complete the following information):
Describe the bug
I created two scripts: "Failure_Action_CreateTicket" and "Resolve_Action_CloseTicket". As the name implies, these are used in an alerting template to create or close tickets in our issue tracking system. However, the history shows the name of the "Failure_Action_CreateTicket" as the executed script no matter if an alert was triggered or resolved.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The history should show that the script "Resolve_Action_CloseTicket" has been run.
Screenshots
Screenshot of the Alert template:
Screenshot of the client history:
Additional context
My understanding is that this is only a display error in the History section of the agents. The scripts I wrote and the alert template work as intended and tickets are created and closed as expected, so I can confirm that the alert template actually runs the second script as it should. The "output" column in the History section also returns the output I expect form the second script.
The text was updated successfully, but these errors were encountered: