youngmon/atlassian-qna huggingface dataset:
Can I speed up notifications from opsgenie?
Asked by Krista Schlumpberger:

When a critical incident is raised through our support portal, it takes exactly 10 min, no less, to get the notifications on my phone. Can this be optimized or changed to be faster?


Answers:
author: Nick H
body: Hi [@Krista Schlumpberger](/t5/user/viewprofilepage/user-id/4389885) ,

This should be possible. One thing I like to point out with alert notifications and the workflow is:

* If an alert is sent to a team (which is best practice), the team's [On-call tab](https://support.atlassian.com/opsgenie/docs/configure-a-team-dashboard/) manages ***which***users are notified - through routing rules and escalations.
* When an alert is sent a user, the user manages ***how***they are notified.

So if you are apart of the team's workflow / escalation process, you could be added into the notification flow immediately with a 0 minute escalation rule:

![nots1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240417i4FD9A779BAE805DB/image-size/large?v=v2&px=999 "nots1.jpg")

You could also then edit your New Alert notification rule to notify you immediately through whichever contact method(s) you prefer. This is the rule that notifies a user when a new alert is sent them:

![nots2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240418i093B6E70902F23EC/image-size/large?v=v2&px=999 "nots2.jpg")


author: Krista Schlumpberger
body: Thanks Nick, very helpful!   

I do already have it set to notify me immediately.

And under the team, the notification rules are set to notify "on-call" **immediately** yet I still didn't receive the message until 10 min after ticket was created.   

However, if the ticket is not acknowledged then we do have another rule that is set to alert the rest of the team after 10 min. ![Screen Shot 2023-02-15 at 3.06.01 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/240458i31B270EC1B4E7824/image-size/large?v=v2&px=999 "Screen Shot 2023-02-15 at 3.06.01 PM.png")

So, the on-call immediate alerting is not working as expected but the second notification rule is.  

As a workaround I have updated the 2nd notification rule/escalation path to be after only 1 minute instead of 10.   

Could the issue be how we set up the routing rule to alert on_call_escalation instead of on_call_team_schedule?  

![Screen Shot 2023-02-15 at 3.13.14 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/240457i0ECF7AA80D6083EB/image-size/large?v=v2&px=999 "Screen Shot 2023-02-15 at 3.13.14 PM.png")

comments: author: Nick H
body: Hi [@Krista Schlumpberger](/t5/user/viewprofilepage/user-id/4389885) ,

Are you on-call in that team's schedule? Your workflow looks configured correctly - and I would suggest routing to the escalation vs. the schedule.

Routing directly to a schedule essentially skips over the escalation entirely and only notifies the on-call user(s) - while routing to an escalation can notify the on-call user(s), and others if no action is taken on that alert.


Tags: jira-cloud
How to use global alert policies in Opsgenie?
Asked by Issy Pearson:

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](https://community.atlassian.com/t5/image/serverpage/image-id/240183iB1F8B0EF67CA6552/image-size/large?v=v2&px=999 "Screenshot 2023-02-15 104346.png")

![Screenshot 2023-02-15 104905.png](https://community.atlassian.com/t5/image/serverpage/image-id/240186i66751030314DC6C4/image-size/large?v=v2&px=999 "Screenshot 2023-02-15 104905.png")


Answers:
author: Nick H
body: Hi [@Issy Pearson](/t5/user/viewprofilepage/user-id/5097725) ,

[This Community Article](https://community.atlassian.com/t5/Opsgenie-articles/How-to-Map-Alert-Priorities-in-Opsgenie/ba-p/2044304) 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](https://support.atlassian.com/opsgenie/docs/use-advanced-integration-settings/). 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](https://community.atlassian.com/t5/image/serverpage/image-id/240379i6B424A9573742957/image-size/large?v=v2&px=999 "priority1.jpg")

![priority2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240383i480DA11EF8373321/image-size/large?v=v2&px=999 "priority2.jpg")

![priority3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240380iB16E95349F6CEE05/image-size/large?v=v2&px=999 "priority3.jpg")

comments: author: Issy Pearson
body: 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](https://community.atlassian.com/t5/image/serverpage/image-id/240439i17DE2081DAECCB21/image-size/large?v=v2&px=999 "Screenshot 2023-02-16 091322.png")


Tags: global

jira-cloud
How can I set up personal notification rules using the Responders field?
Asked by Kim Barry:

I am trying to create a personal notification rule using the Responders field. What I would like to do is have alerts that are directed to my team be routed one way and alerts that are directly to me routed another way. However, I have not been able to get this to work. I have tried several different ways,  

Responders contains Team Name

Responders contains Team ID

Responders matches Team ID

I also have a second rule

Details (key-value based) incident-id NOT is Empty

However Opsgenie always ends up using the routing that I set up for me which is

Responders NOT contains Team ID

Details (key-value based) incident-id NOT is Empty

Has else been able to get something like this to work? Anyone have any ideas?


Answers:
author: Nick H
body: Hi [@Kim Barry](/t5/user/viewprofilepage/user-id/5099748) ,

Since the responder field is an array like tags, I believe Contains or Matches (regex) should be either of the two options selected when filtering on the team/responder.

I had success filtering on the actual name vs. the ID though. For example:

![nots1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240997i8DF61F259B1716B3/image-size/large?v=v2&px=999 "nots1.jpg")

![nots4.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/241003iD0A13F7998071A48/image-size/large?v=v2&px=999 "nots4.jpg")

![nots2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/241002i069E33C0CAD0B095/image-size/large?v=v2&px=999 "nots2.jpg")

The order of your notification rules might matter as well since Opsgenie processes these in an order of operations from top \>\> down, and will use the first matching rule / filter:

![nots3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/241000i92B30580C66B154E/image-size/large?v=v2&px=999 "nots3.jpg")


Tags: cloud
Alert Query / JQL regex
Asked by Ben Griffin:

I am struggling with the JQL / Alert Query results - it seems that wildcard searches are only working from the start of the field. I cannot seem to get a match, for instance, for all open alerts whose message ends with "broken.sh"

Is there a regex/pattern-match facility available? We really want OpsGenie to work for us, but at the moment, being able to purge / group-add multiple messages to an Event seems incredibly hard.

We want to be able to use an automatic match of alerts to known events, so being able to have a match / move / (increment/update event) - so that we can encourage monitoring without being encumbered by thousands of alerts.

Maybe I am missing something.


Answers:
author: Nick H
body: Hi [@Ben Griffin](/t5/user/viewprofilepage/user-id/1180447) ,

The Alerts tab does lack some functionality when it comes to searching for pieces of a string - especially if the piece is not at the start when using a wildcard like you mentioned.

We currently have a few feature requests open for this functionality you can follow, watch and vote for here:

[As a customer I would like to search and filter alerts using regex](https://jira.atlassian.com/browse/OPSGENIE-366)

[Ability to use wildcard (\*) in the front and back of strings](https://jira.atlassian.com/browse/OPSGENIE-217)

Alternatively to the Alerts tab, the [Alert Analytics report](https://support.atlassian.com/opsgenie/docs/how-are-global-reports-calculated/#Alert-Reports) can pull alerts when they contain a certain string.

Moving forward, you could also use regex or string processing to extract the string into an alert field, and filter on that too - maybe something like extracting the string as a tag. This [Community Article](https://community.atlassian.com/t5/Opsgenie-articles/How-to-Extract-Custom-Fields-and-Data-into-an-Alert/ba-p/2133902) might help on methods to do this.

comments: author: Ben Griffin
body: Yes, I am using some extraction for integration passing - but what is really weird is that there doesn't seem to be much in the way of a definition of acceptable values, or even a full list of available fields.

IMO, the Opsgenie seems to be 'beta', regardless of it's 'pro' pricing model.


Tags: cloud
Is there a way to group the similar alerts with same Event message?
Asked by Rajiv GopalakrishnaRao:

We have a usecase to group similar alerts getting triggered from AppD. Is there a way to group similar alerts? So that our Oncall will not receive any notifications for same alert for every 10 mins.


Answers:
author: Nick H
body: Hi [@Rajiv GopalakrishnaRao](/t5/user/viewprofilepage/user-id/5143980) ,

That should be possible depending on your plan. [Deduplication](https://support.atlassian.com/opsgenie/docs/what-is-alert-de-duplication/) is a feature offered by Opsgenie that increases the count of an alert.

Deduplication is dependent on the alias field, and you can configure what parses in this field under the integration's [Advanced tab](https://support.atlassian.com/opsgenie/docs/use-advanced-integration-settings/) - but this tab is only available for the Opsgenie Standard and Enterprise plans, or the JSM/O Premium and Enterprise plans:

![appd1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240136iEB62BBB6C7FF8DA8/image-size/large?v=v2&px=999 "appd1.jpg")![appd2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240137i14A50BFEBC2786F0/image-size/large?v=v2&px=999 "appd2.jpg")


author: Tom Russell
body: The way Opsgenie groups similar alerts is with the Alias field. If a new event comes in with the same alias as an alert that is currently open, no notification will occur, and the counter on the open alert will be incremented.

You *could* sent the message in the alias field, but a better solution is to send a string that uniquely identifies that ***type***of alert.

comments: author: Rajiv GopalakrishnaRao
body: Thank you!! I was able to set up Alias name and it started grouping.


Tags: cloud
Why does the order under Mobile applications change by itself?
Asked by Michael Easlick:

I have an iPhone and an iPad. Both devices have OpsGenie installed, under profile settings within the mobile applications section I see both. However, OpsGenie will only push the first device in the list and regularly it is changed to my iPad without my doing.

I always want my phone to receive the push notification, I just have it on my iPad to be able to see the alerts as needed. Since I can only change the order on a desktop this is getting very frustrating.

Thanks!


Answers:
author: Shivam Naik
body: Hi [@Michael Easlick](/t5/user/viewprofilepage/user-id/5012707) ,

I would recommend opening a Support Case with us so that we can examine that behavior more closely. To clarify when you look at Notification rules involving your Mobile Devices in the Notification section like below, are you seeing that order change here, or elsewhere?  

<br />

![Opsgenie_-_Profile.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240206i352EE84E4E8D66F9/image-size/large?v=v2&px=999 "Opsgenie_-_Profile.jpg")

Please let me know, and I will follow up

comments: author: Michael Easlick
body: Mine looks a bit different but nevertheless under settings, notifications -

Eventually the iPad will be on top and I will have to login from a web browser to change it. I will follow up with a case the next time it happens, thank you!

![Screenshot 2023-02-15 153343.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240449i3550090E4173D075/image-size/large?v=v2&px=999 "Screenshot 2023-02-15 153343.jpg")


author: Shivam Naik
body: Hi [@Michael Easlick](/t5/user/viewprofilepage/user-id/5012707) ,

Thank you for clarifying where that is! Looks like that's further up on the methods themselves, but those shouldn't be changing on their own, definitely let us know in a case if this happens again so that we can investigate!


author: Michael Easlick
body: Hello! This has happened again. I am the primary escalation this week and today my phone was receiving push alerts without issue.

This afternoon I was using my iPad on a teams call and an alert came in on my iPad, now it is listed first.

Because I am on-call I cannot leave it like this, but I wanted you to know.


author: Shivam Naik
body: Hi [@Michael Easlick](/t5/user/viewprofilepage/user-id/5012707) ,

Can you open a case with us here so that we can take a look? If there's a bug involved, this will help us report it to Engineering: <https://support.atlassian.com/contact/#/>

Thank you!


author: Michael Easlick
body: Thank you, I have done that!


Tags: cloud
Is there a way to search for a team based on the description?
Asked by Swarna Chilakala:

In Opsgenie, When I want to locate a Team, I see that the search works only based on the Team name but not based on Description of the Team.

A team may name them as xyz but it was know for supporting multiple services and they want to list those service names in description for easy discoverability.

Where do you recommend the other names to that Team be listed and still easy to search??


Answers:
author: Howard Nedd
body: hi [@Swarna Chilakala](/t5/user/viewprofilepage/user-id/4351885) ,

Why not add the teams as service owners and search in the services tab. Then click on the service owner tab to see which team owns which service.

Would that help?

Regards

Howard
StruxureWare Integration
Asked by Rodney Thomason:

I've set up the integration with StruxureWare (APC) and successfully tested the configuration. I get an alert inside OpsGenie and it will increase each time I run the test from StruxureWare. My issue is that I'm getting no other alerts from StruxureWare. We have several hundred APC UPSes that are actively alerting/alarming, but none of those are coming into OpsGenie. Does anyone have any suggestions at all as to what I may have not done or may need to do to get the alerts to start coming in? Thanks in advance!


Answers:
author: Shashwat Khare
body: Hi [@Rodney Thomason](/t5/user/viewprofilepage/user-id/5144665) ,  

Could you please verify once that the Integration is correctly configured in Opsgenie as well as on the StruxureWare Data Center Expert side by following the steps in the below document link:   
<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-struxureware-data-center-expert/>  

Once this is correctly configured, please trigger a new alert from StruxureWare Data Center Expert and navigate to Settings \> Debug \> Logs in Opsgenie to search with the Integration name as in the below example screenshot:![Screenshot 2023-02-13 at 3.48.08 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/239825iCFFA9AFC1D4DACB4/image-size/large?v=v2&px=999 "Screenshot 2023-02-13 at 3.48.08 PM.png")  

With the above search, you can check all the incoming alerts that were triggered from StruxureWare Data Center Expert's end to verify if the integration was set up correctly and if the alerts are coming in as expected.  

Additionally, please visit the below document link for the associated steps on configuring the action filters in Opsgenie for the integration:   
<https://support.atlassian.com/opsgenie/docs/action-filters-in-opsgenie-integrations/>  

Best,  
Shashwat

comments: author: Rodney Thomason
body: I've already completed the above. I can see the test alert that is triggered within Data Center Expert, but that's all I can see coming from there. Since this is an integration, do I actually need to configure any "Actions" within the integration in OpsGenie?


author: Shashwat Khare
body: Yes, you would need to configure the "Create Alert" and "Close Alert" action filters for the integration.  

The conditions selected under these filters would create and close Alerts in Opsgenie accordingly for all the Alerts triggering from StruxureWare'd end.  

For example, if you select "Match all alerts" for the "Create Alert" action, it will create **all Opsgenie Alerts** for the incoming alerts from StruxureWare, and if you select "Match one or more conditions below / Match all conditions below" for the "Create Alert" action, it will **only create Opsgenie alerts** for the StruxureWare alerts that match the configured conditions in these filters.  

Help document: [How to setup Action Filters in Opsgenie Integrations](https://support.atlassian.com/opsgenie/docs/action-filters-in-opsgenie-integrations/)  

Best,  
Shashwat


Tags: cloud

struxureware
Does subscribing a team to a service get the team the same alert as a responder team?
Asked by Kim Barry:

Does subscribing a team to a service get the team the same alert as a responder team?  

Also is there an undo? Can a team unsubscribe? It seems like that should be available, but I can find a way to undo it.


Answers:
author: Shashwat Khare
body: Hi [@Kim Barry](/t5/user/viewprofilepage/user-id/5099748),  

Yes, please note that a Team can subscribe to a service by the "Subscribe to service" button, and **separate alerts are created** for every subscribed team.  

The Incident-Alert-type field for the Incident will state "Service Subscription" signifying that this Alert was created via the subscription.  

Yes, a team can change the subscription by clicking on the "Unsubscribe from service" button by navigating to Teams \> Team_name \> Services \> Subscribed services \> Service_name \> Unsubscribe from Service as in the below example screenshot:  
![Screenshot 2023-02-13 at 3.33.35 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/239819iA7577D76D4D6D70A/image-size/large?v=v2&px=999 "Screenshot 2023-02-13 at 3.33.35 PM.png")  
Best,  
Shashwat


Tags: cloud
How to get JSM issue key in OpsGenie payload to Edge Connector
Asked by Wong:

We have set up an integration that will create a JSM incident from an on-premise monitoring tool via OpsGenie. Once an incident is closed in JSM, I would like to write the JSM issue key in to the on-premise SCOM alert. Is there a document that shows the available payload that is sent from OG to Edge Connector?


Answers:
author: Arumugam M
body: Hi there,

This is Arumugam from Atlassian Support and I'm happy to help!

I understand that you would like to see the default payload sent from Opsgenie to Opsgenie Edge Connector.

If you are using our default OEC scripts from our [repository](https://github.com/opsgenie/oec-scripts#readme) we print the payload we receive in the file called **output.txt** under **\<installation directory\>/opsgenie/output** or you can find the location of this file by checking your configuration specified in **config.json** under **\<installation directory\>/opsgenie/oec/conf** folder.

If you are using a custom script, please note that we pass the queue payload as an argument and the argument name is called **--queuePayload**and depending on the script you use, you can log this to your preferred output file.

If the JSM key is already appended to your alert in Extra properties or any other alert field, then you can get the value from payload and can use it.

I hope this helps. Please let me know if you have any specific follow-up questions.

Thanks,

Arumugam
OpsGenie REST API not returning any results
Asked by Tom Davison:

Hello,

I have been requested to create a Dashboard that displays the status of our Key infrastructure objects. I am trying to utilize the Opsgenie REST API to obtain a list of open alerts within a saved search. However, in Postman, when I try this, I don't get any results in the Body. I'm not sure if I am doing this correctly.

The GET URL I am using is:

<https://api.opsgenie.com/v2/alerts?query=>"status: open"\&searchIdentifier="Meraki - network has become unreachable"\&searchIdentifierType=id\&offset=0\&limit=20\&sort=createdAt\&order=desc

![OpsGenieAPI.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/239520iF26824008F5D642F/image-size/large?v=v2&px=999 "OpsGenieAPI.JPG")

Thank you for any help on this one,  
Tom


Answers:
author: Arumugam M
body: Hello Tom,

This is Arumugam from Atlassian support and I'm happy to help!

I understand that you are working with our APIs and not getting the expected results.

While looking at the query you constructed, it seems that the query is not URI encoded.

Please follow the steps below to get the results:

1. Go to your Opsgenie instance list view page and construct the [search query](https://support.atlassian.com/opsgenie/docs/search-queries-for-alerts/) in UI and search for alerts and see if it is fetching the results that you want.

2. Once you have the search query, now you can use that from Postman or any programming language. However, you would need to URI encode the search parameter before appending it to the API endpoint.

Here is a sample [CURL request](https://docs.opsgenie.com/docs/alert-api#list-alerts) of how it should be for your reference:

*curl -XGET -H "Authorization: GenieKey eb243592-faa2-4ba2-a551q-1afdf565c889" '<https://api.opsgenie.com/v2/alerts?query=>**status%3Aopen**\&offset=7\&limit=10\&sort=createdAt\&order=desc'*

Kindly try the same an let me know how it goes.

Thanks,   
Arumugam


Tags: cloud
How do I list the integrations with keys and other details?
Asked by Rohit Sreeramula:

How do I list the integrations with keys and other details? I have a bunch of integrations and have been searching for a key but unable to find it. The search doesn't have filters that fits my need. Anyone able to do it?

Thanks!


Answers:
author: John M
body: Hi [@Rohit Sreeramula](/t5/user/viewprofilepage/user-id/5141276) ,

The settings page at Settings \>\> Integrations will list all integrations, or if you are on the essentials plan, you can go to Teams \>\> Integrations.

While the name and type of the integration, as well as the responder team will be listed, the API keys will not show here.

The only way to access the API keys are on the integration page.

I hope this helps!


Tags: cloud