Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,474
Community Members
 
Community Events
176
Community Groups

Can we override exiting alerts configured in Opsgenie based on a flag/update from a JIRA ticket ??

We have a use case to stop sending alerts for a specific application, if we there is a planned downtime for that application and we pass this downtime info to Opsgenie via JIRA ticket. 

Can we configure these rules into Opsgenie and use its integration with JIRA for passing this info??

1 answer

2 votes
Kate Clavet Atlassian Team Jun 21, 2019

Hi @Manohar Goli (Dnfcs) If you don't want to receive alerts from these applications when there is scheduled maintenance/downtime but still want to receive other alerts for those applications in other scenarios the best way to go about this would be to use the Alert and Notification Policies in Opsgenie. I'll use Jira for this example. 

From within the team that the Jira integration is assigned to, click on the policies tab. 

Screen Shot 2019-06-21 at 12.07.13 PM.png

First, set up an alert policy to add the tag "maintenance" to any low priority alert coming from Jira with the maintenance in the message. (You can adjust the parameters to make sense for your use case, this is simply what I used for the example.) 

Screen Shot 2019-06-21 at 12.08.38 PM.pngScreen Shot 2019-06-21 at 12.08.49 PM.png

Now every alert relating to scheduled maintenance coming from Jira will automatically be assigned the tag "maintenance." 

 

Next from Notification Policies, set it up so that every alert coming from Jira, that has the maintenance tag is automatically closed. 

Screen Shot 2019-06-21 at 12.07.02 PM.png

 

Hopefully this helps! 

@Kate Clavet 

Thanks for the detailed response. This is definitely helpful. However the requirement our client is to further automate this whole scheduled maintenance for planned changes. For example, an application ( already configured for alerts on Opsgenie) that is part of a change request (jira ticket), is there a way to trigger a change (may be use web hook from JIRA to Opsgenie) to Alert profile of that particular application for that particular maintenance period (again this info is recorded on Change request (JIRA) and passed on as update to Opsgenie)

Challenge which they are trying to address is to avoid manual changes to alert profile when there is a scheduled maintenance for a specific application. 

Yes @Manohar Goli (Dnfcs) Unless I'm misunderstanding your use case, you would still set up alert policies and notification policies, this way every time an alert came through related to that scheduled maintenance it would be tagged as scheduled maintenance thanks to the alert policy, and trigger an auto close thanks to the notification policy. Once it is set up, there is no manual intervention moving forward. 

Meaning if Jira sends an alert to Opsgenie that scheduled maintenance is taking place, Opsgenie will add the tag maintenance automatically and then trigger the notification policy telling the alert to auto close. 

You may need to adjust the tags or alert source used for your particular use case (only during the initial set up of the policy) but this is still the solution. Let me know if I'm misunderstanding your use case :) 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events