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

How to use global alert policies in Opsgenie?

Issy Pearson February 14, 2023

Hiya,

I am sending Jira Cloud issues to Opsgenie as alerts and would like to translate the priority of the Jira issue into its' Opsgenie equivalent. To do so, I have tried using a global policy that looks at the priority of the Jira issue and changes its' subsequent Opsgenie alert accordingly. For instance the Jira issue priority would change from "High" to "P2-High". However no change currently takes place.

Below are screenshots of the global alert policy used and a log of an alert that should have used the global alert policy. Ideally the log should have changed the priority field that currently shows P2 to P2-High. 

Thanks :)

Screenshot 2023-02-15 104346.png

 

 

Screenshot 2023-02-15 104905.png

1 answer

1 accepted

0 votes
Answer accepted
Nick Haller
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 15, 2023

Hi @Issy Pearson ,

This Community Article should help with mapping issue priorities to alert priorities.

I don't necessarily think alert policies would be needed for this use case though. You should be able to map this within this Jira integration.

If you are using the legacy Jira integration, you can configure multiple create alert actions under the Advanced tab. Same would go for the newer cloud Jira integration, but through multiple Incoming automation rules >> Create Alert actions.

For example filtering on the Jira issue priority, and mapping it to the corresponding Opsgenie alert priority:

priority1.jpg

priority2.jpg

priority3.jpg

Issy Pearson February 15, 2023

Thanks for your reply. After following your setup in the third screenshot it's all working now! We're using the Jira Cloud integration and had previously had a go setting it up as you have in your third screenshot to no avail. However I found that using a regex match as the operator to be successful rather than using "Contains". I've pictured our setup below for reference.

 

Thanks again :) 

 

Screenshot 2023-02-16 091322.png

Like Nick Haller likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events