Hello,
What I am trying to do is create an opsgenie alert for backups.
The workflow I have in mind is if a success email comes in, opsgenie ignores.
If a failed job email comes in, open a ticket. This will have the backup job name on it.
When the job succeeds, the success email will come in and close the alert in opsgenie.
The issue im having is how do I make the success email job work with the failed job?
The success email needs to match the job name of the failed job. How would I go about matching the two in order for OpsGenie to know to close the alert?
I have set up the ignore for [Success] as jobs will run and complete successfully. I need the success emails to come in to let OpsGenie know to close the alert once the failed job with the same job name comes in.

I have the create alert here. The alert subject will be [failed] %BackupJob% has x failed items. Thats no problem. Might show up as [failed] Infrastructure has 3 failed items
Now wondering how would I make the close ticket recognise the backup job name with [success] in the subject to know that the job has completed successfully and close the ticket.
