Dont create ticket recovery to Jira

Hi,

I have configured the sending of alerts to create tickets in Jira

The problem is that they also create ticket when the alert is recovered.

In the transport code there is this:

/// Don’t create tickets for resolutions
if ($obj[‘severity’] == ‘recovery’ && $obj[‘msg’] != ‘This is a test alert’) {
return true;
}

But it doesn’t work, any ideas?

Thanks!

There is a checkbox on the alert rule to disable recovery emails.

Works

Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.