Good Morning,
we have automated alerts for VMs that come into Jira for tracking purposes. when the VM shuts down it generates an issue with the summary of
"Azure: Activated Severity: 1 VM Availability Status - Offline"
when it comes back online it generates an issue with the summary of
"Fired:Sev3 Azure Monitor Alert VM Availability"
what i would like to happen is when the issue is generated for it coming back online, it will close out both the offline and online issues.
optionally i would like it to notify me if the online one doesnt come in.
i have attempted following this article:
Solved: Automation - Close tickets based on new and existi...
it is very similar to what i want to do but i was unable to get it to work. i dont understand JQL or how to adapt what they did to what i wanted to do. it appears to be an older version of jira since a few of the options mentioned didnt match what i had in my automation options. it could also be that i am inept. any assistance would be greatly appreciated.
Welcome to the community!
I think an automation like below might work for you,
Condition: Summary contains "Fired:Sev3 Azure Monitor Alert VM Availability"
Use "Branch rule / related issues" → "JQL"
summary ~ "Azure: Activated Severity: 1 VM Availability Status - Offline"
AND status NOT IN (Closed, Resolved)
You can replace "Resolved" with whichever your resolved/done status is in the workflow
Then add an action to Transition the current issue to your resolved/done/closed status
For the notification of not coming online you may be able to use a scheduled rule that runs every 30 minutes searching for this JQL and if it matches send you a notification/email
summary ~ "Azure: Activated Severity: 1 VM Availability Status - Offline"
AND status NOT IN (Closed, Resolved) AND created <= -30m
Awesome thanks! it looks like that works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.