youngmon/atlassian-qna huggingface dataset:
We are testing Runscope integration with Opsgenie and to set the configuration for notifications
Asked by Chethan GR:

We are testing Runscope integration with Opsgenie and to set the configuration for notifications in Runscope, do we have to set the notifications for each and every API or we can roll out this configuration gloablly.


Answers:
author: Nick H
body: Hi [@Chethan GR](/t5/user/viewprofilepage/user-id/1786412) ,

You can use one Runscope integration and roll out this configuration globally by using a number of different Create Alert actions within the Advanced tab of the integration. Note - this tab is only available on the Standard and Enterprise Opsgenie plans:

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

By leaving the integration global - or assigned to No Team - opens a Responders field within each Create Alert action. Each action provides the flexibility to filter on what data is being sent from Runscope \>\> Opsgenie, then send these corresponding alerts to the correct Opsgenie responders. For example:

![runscopecomm2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/137488i30C9B275DA495455/image-size/large?v=v2&px=999 "runscopecomm2.jpg")![runscopecomm3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/137487i6867E356ED32BD41/image-size/large?v=v2&px=999 "runscopecomm3.jpg")

Opsgenie will look at the top Create Alert action to try and find a matching filter. If the conditions do not match, Opsgenie will look at the following action(s) to find a match, and execute the first match.

Hope this helps! Let us know if you have other questions or issues, if this isn't what you are looking for, etc.

comments: author: Chethan GR
body: Hi [@Nick H](/t5/user/viewprofilepage/user-id/2540930) \& [@Samir](/t5/user/viewprofilepage/user-id/2168284) ,

Thanks for the response,

Regards,

Chethan


author: Samir
body: Hi [@Chethan GR](/t5/user/viewprofilepage/user-id/1786412) - can you clarify what you mean by set the notifications for each and every API? Do you mean you want the alerts to notify the same way for alerts created by multiple integrations in your Opsgenie account?

If so - you can create a team, and setup the routing rules, escalation policies, and on-call schedules on that team. Then you can setup all of your integrations to be assigned to this team.

When an alert goes to a team, it follows the routing rules on that team to determine who will be notified. So that is how you can have all integrations notify the same way. i.e. have them all go to the same team, and then setup the routing rules, escalation policies, and on-call schedules on that team to determine who will be notified.

Let me know if I misinterpreted your question, or if you need any additional clarification!

Thanks,

Samir


Tags: cloud
Can we push the extra property values from Opsgenie to custom fields in Jira
Asked by Chethan GR:

Can we push the extra property values from Opsgenie to custom fields in Jira. We have an email integration and there are some extra properties that have been captured and can we push them to custom fields in Jira


Answers:
author: Samir
body: Hi [@Chethan GR](/t5/user/viewprofilepage/user-id/1786412) !

With the default integration, it's not possible to map additional Opsgenie fields to the Jira issue fields that it creates. Our team is working on a new more advanced Jira integration that will allow for more customization of mapping Opsgenie fields to Jira fields, so stay tuned for that!

In the meantime, you can [setup the integration via Opsgenie Edge Connector (OEC)](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira/#Integration-via-OEC--for-Jira-Software-Server---Data-Center-Usage-)

OEC is a service you install that will essentially be "subscribed" to the Jira integration in Opsgenie, and will execute a script that will actually create/update the issues in Jira. So when an alert is created in Opsgenie and the Jira integration picks it up, OEC will pick up that alert, and execute the [actionExecutor.py script](https://github.com/opsgenie/oec-scripts/blob/master/Jira/scripts/actionExecutor.py) that is included in the Jira-OEC package, and that script makes the request to the Jira API to create the issue.

You can fully customize that script, so you could add in those additional extra property fields from the Opsgenie alert to be included in the payload that is sent to Jira to create the issue.

Hope that helps! Let us know if you have anymore questions.

Thanks,

Samir

comments: author: Chethan GR
body: Hi [@Samir](/t5/user/viewprofilepage/user-id/2168284) ,

Thanks for the response.

we are actually on cloud and i guess we will have to wait until the features are released. And is there any timeline for these features implementation so that I can convey them to my clients.

Regards,

Chethan


author: Samir
body: Hi [@Chethan GR](/t5/user/viewprofilepage/user-id/1786412) - You can still use Opsgenie Edge Connector with Jira Cloud. You would just need to install the OEC on a host of your choice, doesn't matter where since the Cloud instances are accessible over the internet.

As far as timeline for the new features, I don't have an ETA on that at this time, but I know it is a priority for the dev teams so I would expect it to be introduced in the next couple of months.

Thanks,

Samir


author: Julian Yu
body: Hi,

has this feature been developed yet? when will be the release?

Cheers,

Julian


author: Chethan GR
body: ![email.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/136993i574B264A33B55FB1/image-size/large?v=v2&px=999 "email.PNG")

I want to push these extra properties to jira custom fields


Tags: cloud
Have Opsgenie automatically slack the person the alert is escalated to.
Asked by Derek Stevenson:

Is it possible to have this work flow?  
Alert comes into OG \> escalate to different team \> have OG send a slack message to that person on call.

Or a specific slack room. I know you can by creating an incident out of the alert with the configured integration, but we don't want to have to open a new ticket/incident to make the owner of the ticket a different team.


Answers:
author: Nick H
body: Hi Derek,

Opsgenie has a prebuilt integration with Slack that notifies a channel when an alert is sent to the same team the integration is configured under. So you don't always need to open an incident to have messages send to Slack: <https://docs.opsgenie.com/docs/slack-app-integration>

![slackcomm1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/136142i620156EAD3D2426F/image-size/large?v=v2&px=999 "slackcomm1.jpg")![slackcomm2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/136143i09D39DD7282FD3E1/image-size/large?v=v2&px=999 "slackcomm2.jpg")

\^ Note this integration can only be configured to send to a Slack channel, and not a specific user.

As for "Alert comes into OG \> escalate to different team" - I may need some clarification on this.

It *sounds*like when an alert is sent to Team A, you then want it escalated to Team B. This can also be done through a team's On-Call tab / escalation with something like this:

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

Hope this helps! Let us know if you have any additional questions, issues, etc.

comments: author: Derek Stevenson
body: Thanks! I actually figured it out. I did have your suggestions above already implemented, I was just adding responder to the escalation policy rather than the team as well, so it wasn't triggering in the slack channel.

Thanks for your help


Tags: cloud

slack
How can i "Re-invite" users via API?
Asked by Juan Enrique:

In Settings/Users, the unverified users show me the options to "Re-invite" user... i want to re-invite users via API, is it possible?


Answers:
author: Samir
body: Hi [@Juan Enrique](/t5/user/viewprofilepage/user-id/4321493) - it's not currently possible to re-invite users via API in Opsgenie. We do have a feature request for this, so it is something that may be possible in the future as Opsgenie User Management becomes more aligned with the Atlassian Cloud Admin side of User management.

Thanks,

Samir

comments: author: Juan Enrique
body: Hi [@Samir](/t5/user/viewprofilepage/user-id/2168284) , i've found a workaround to re-invite all users via API, the one used in the front end... Thank you for the reply.  

Regards,  
Juan Enrique.  


author: Samir
body: Oh great, glad you were able to find a workaround! I'm curious - would you be willing to share what sort of workaround you created?


author: Pavel Korostelev
body: [@Juan Enrique](/t5/user/viewprofilepage/user-id/4321493) Hi, pls tell me about you workaround solution


Tags: cloud
Manage Service relations and responders with Terraform
Asked by Felix Peters:

Hello,

i try to manage my services in Opsgenie with Terraform. We try to manage everything possible as code and Opsgenie is one of the tools we'd like to configure with Terraform because there is an official provider: <https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs>.

Creating a Service is not problem. I also can add service incident rules (opsgenie_service_incident_rule) but i cannot define service relations or responders.

The API does not seem to support this feature either, so it's not a Terraform issue but a missing feature in the API .

Do i miss something or is it just not possible?  
How do you manage service relations in a configuration as code way?

Thanks for your feedback :-)


Answers:
author: Samir
body: Hi [@Felix Peters](/t5/user/viewprofilepage/user-id/4320968) - yes you are right, it is not currently possible to define service relationships in Opsgenie via API. We do have a few feature requests around this so I expect it is something that will be implemented in the future. Currently it is only possible to define service relationships within the Opsgenie UI.

Let me know if you have anymore questions!

Thanks,

Samir


author: serhii.s
body: Hello, very need **tag** and **relationships** in Opsgenie via API

Thanks,

Serhii


Tags: cloud
Alert deduplication and alert status updates
Asked by Kevin De Wolf:

Hello Atlassian Community,

We are looking into opsgenie to handle our alerts from multiple systems (mainly Azure) and have a question about alert deduplication.

When an alert is deduplicated, it increments the counter, which is really convenient to lower alert spam, but we are losing the additional information which that alert would send. Extra alerts usually mean that something has changed, and we don't want to lose that information.

How would we go about in catching that information?

We are currently adding certain fields as notes in the create to provide status updates, but maybe there are more convenient solutions (or maybe this should be a feature request as a possible optimization for opsgenie)

Any ideas?


Answers:
author: Nick H
body: Hi [@Kevin De Wolf](/t5/user/viewprofilepage/user-id/126278) ,

Like you are currently doing, the best method is having a Note added each time the alert deduplicates, and include the additional data/fields through this approach.

Alert fields cannot be updated when an alert deduplicates. We do have an open feature request I'll add you to though! That ticket for reference is ALX-918; *Update alert fields / content upon deduplication*.

Since our tickets are not public, we'll reach out directly if/when there are any updates. Let us know if you have any other questions, issues, etc.

comments: author: Kevin De Wolf
body: Hello [@Nick H](/t5/user/viewprofilepage/user-id/2540930)

Thanks for the quick and clear answer.

Good to know that we're on the right track, and I'm looking forward to hearing from ALX-918, as I'm sure this would add alot of added value.


author: Neil Benton
body: Hello [@Nick H](/t5/user/viewprofilepage/user-id/2540930)

I think this will also solve my problem detailed [here](https://community.atlassian.com/t5/Opsgenie-questions/Can-I-update-alert-field-message-with-latest-deduplicated-alert/qaq-p/1712754)


author: Cameron McAuley
body: [@Nick H](/t5/user/viewprofilepage/user-id/2540930) Hey Nick --- was this feature implemented? It sounds like it would have been an incredibly useful addition


author: Richard Guo
body: I ran into this exact situation doing a three way integration.

My solution was to write a python AWS Lambda that intercepts alerts from our secondary source that's guaranteed to send alerts on a time delay (so these are deduped).

<br />

Then point the corresponding integration to the API Gateway URL to invoke said lambda, instead of the official OpsGenie endpoint.

The lambda's logic simply takes the details{} payload and uses [Alert Details Update API](https://docs.opsgenie.com/docs/alert-api-continued#add-details-custom-properties-to-alert) to insert the same payload into an existing alert. Auth headers are forwarded from original headers.

It takes a bit more logic if the lambda is for all alerts instead of having a source which is guaranteed to come later.

Since you're in Azure, perhaps Azure Functions does the same


Tags: cloud
Opsgenie automation
Asked by Daniel Wor:

Hi,

I am trying to update a "rotation" under "schedule" using API call with no success.

I can GET/POST but cannot PATCH/PUT.

I get "Request method 'PATCH' not supported"

or

"Request method 'PUT' not supported"

This is the request I am trying to call:

curl -v -X PATCH \\  
-H "Accept: application/json" \\  
-H "Content-Type: application/json" \\  
-H "Authorization: GenieKey \<mykey\>" \\  
-d '{  
"name": "rotname",  
"startDate": "2021-03-23T15:00:00Z",  
"endDate": "2021-03-23T21:00:00Z",  
"type": "daily",  
"length": 1,  
"participants": \[  
{  
"type": "user",  
"id": "\<user-id\>"  
}  
\]  
}  
' "[https://api.eu.opsgenie.com/v2/schedules/\<schedule-id\>/rotations/]()"

Hope you can help me.


Answers:
author: Nick H
body: Hi [@Daniel Wor](/t5/user/viewprofilepage/user-id/4318419) ,

I think your URL is missing the ID of the rotation which is causing that response of PUT and PATCH not supported: <https://docs.opsgenie.com/docs/schedule-rotation-api#update-schedule-rotation-partial>

Below is a test of replacing User 1 with User 6 in my test schedule. Note that in my PATCH request I have the rotation ID in my URL so it looks something like: <https://api.opsgenie.com/v2/schedules/:scheduleIdentifier/rotations/:id>

![rotapi1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/135562i1D7A704A4B6D9018/image-size/large?v=v2&px=999 "rotapi1.jpg")![rotapi2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/135563iAE5CFB71A7423067/image-size/large?v=v2&px=999 "rotapi2.jpg")![rotapi3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/135564i6F93E9C8B3070C4C/image-size/large?v=v2&px=999 "rotapi3.jpg")![rotapi4.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/135565i63E2E6EAB88E3126/image-size/large?v=v2&px=999 "rotapi4.jpg")

Hope this helps! Let us know if you have any additional questions, issues, etc.


author: Italo [Modus Create]
body: [@Daniel Wor](/t5/user/viewprofilepage/user-id/4318419) ,

You can also do that using Lamp ( Lamp is a Go based command line utility to interact with Opsgenie service. It provides capabilities to create and close alerts, attach files, etc..)

See more:

<https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie#update-schedule-rotation-command>


Tags: cloud
Alert volume on max no matter what.
Asked by Matthew Marbury:

My app must have just been updated. I used to not have this problem but now I have no control over the volume of the alert even when the phone is silenced.

I found an older thread about it ( <https://community.atlassian.com/t5/Opsgenie-questions/Android-Oreo-8-1-Notifications-Always-Playing-at-Full-Volume/qaq-p/1043090> ) and support advised to change this option:  

"..play Opsgenie sounds at maximum level.."

but I have no such option. Could be that that thread was for android and I have an iPhone. Hopefully the option to fix the volume is available I'm just not finding. Otherwise this is ridiculous and need to be fixed. Please help.

edit: testing turning of the "Allow Critical Alerts" option ...

edit #2: ok, that's all it was. I just need to turn of the Critical Alerts option.  

This confused me because either the app update or something else unbeknownst to me turned on this option.


Answers:
author: Ang?lica Luz
body: Hello [@Matthew Marbury](/t5/user/viewprofilepage/user-id/3632564),

Thank you for reaching out to Atlassian Community!

On the new update for the iOS app, the feature "Allow Critical Alerts" was added, and turning this feature off, as you already did, will stop this loud volume.

There are two feature requests suggesting improvements for that, but, the tickets are not public, so I'm not able to share the links here. One suggestion is "Ability to define what is a Critical Alert for IOS", so it would be possible to allow the alerts just for P1, for example, and the other one "Control iOS Critical Alert Volume".

With this said, while the features are not implemented, the workaround, is to turn off the "Allow critical alerts".

Kind regards,  
Ang?lica

comments: author: Steven Stefanov
body: Hello, are the tickets - "Ability to define what is a Critical Alert for iOS" and "Control iOS Critical Alert Volume" completed or is this something that's still down the road?


Tags: cloud
Live Call Routing - what numbers are available and how are users counted?
Asked by Krastan Ivanov:

Hi all!  

I am looking to implement a Live Call Routing solution to ensure high Severity calls from our clients can reach our on-call staff. It seems that OpsGenie is fit for this purpose, but I have a couple of questions which I hope you can help me with:

1. OpsGenie Phone Numbers - I can see that I can get a number from OpsGenie for $10 a month, but is this number a US number only, or can I request various numbers for different countries and continents?   

2. Users - how are users counted exactly? I will have several admins that can access OpsGenie and set on-call schedules, but the amount of on-call staff will be lot bigger (let's say 15) and they will not have access to OpsGenie, they just need to take the calls routed to them. So, do I have 4 users (the admins) or 15 (all people who can have a call routed to them)?  

Thanks in advance!

Best regards,

Krastan


Answers:
author: Nick H
body: Hi [@Krastan Ivanov](/t5/user/viewprofilepage/user-id/4201412) ,

I've included screenshots below of all the countries we support for the Incoming Call integration. I guess we don't document this so I'll enter a ticket with engineering:

![incomingcall1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/135174i8848D9A9840387F5/image-size/large?v=v2&px=999 "incomingcall1.jpg")![incomingcall2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/135175i80D9CD900EDC1F8B/image-size/large?v=v2&px=999 "incomingcall2.jpg")![incomingcall3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/135176iAD57CEEBB3129B80/image-size/large?v=v2&px=999 "incomingcall3.jpg")![incomingcall4.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/135177iAA992AC15673DAE6/image-size/large?v=v2&px=999 "incomingcall4.jpg")

As for user count - anyone receiving calls would need to be a User and charged a license. The Incoming Call integration dials users through their voice contact method.

Also - one Incoming Call line is included for free with the Standard and Enterprise plans. Each additional line would be charged $10/month (along with the minutes that can be reviewed here: <https://www.atlassian.com/software/opsgenie/pricing>).

Hope this helps! Let us know if you have any additional questions.

comments: author: Nick H
body: NOTE - most of the countries shown above are greyed out. To add one of those, you'd have to work with Opsgenie support. Our team can also help add numbers with specific area codes as well!

You can contact us through the in-app chat, or opening a ticket here: <https://support.atlassian.com/contact/#/>


author: Krastan Ivanov
body: Awesome, thanks Nick!
Opsgenie I would like everyone on a team to be notified 24/7 everyone on-call.
Asked by MICHAEL:

Hello,

I'm new to Opsgenie and had a kind of newbie question. We are tying to use OpsGenie for our highsev notification. All users in the Team need to be notified of any alerts that come to that team. Everyone should be on-call 24-7.

Thanks

MQT.


Answers:
author: Venkata.Suneel
body: Hi Michael,

I hope u have team group name in your organization. Please add the group in to schedule and write action policy when a alert is create call this schedule so that i will call all the team members or we can implement random calling as well to your members

Regards,

Venkata Suneel

comments: author: MICHAEL
body: I set the "Routing rules" to point to "Escalation Policies" that notifies all team members. It does not point to the "On-call schedules.".


author: Venkata.Suneel
body: HI Michael,

You have to escalation policy and call that respective schedule. Here is the screen shot for the reference

Regards,

Venkata Suneel


Tags: cloud
Create a Opsgenie account
Asked by Carlos de Magalhaes:

Dear Community,

I get stuck creating an Opsgenie account, I cannot fulfil the claim your site option, is always grey out the option Agree doesn't matter what I type in.![Screenshot 2021-03-23 at 09.50.48.png](https://community.atlassian.com/t5/image/serverpage/image-id/135470i7807960AF9052A40/image-size/large?v=v2&px=999 "Screenshot 2021-03-23 at 09.50.48.png")


Answers:
author: Jack Brickey
body: just a guess - have you tried removing the "@"

comments: author: Carlos de Magalhaes
body: yes I have tried also without the @


author: Jack Brickey
body: I suggest contacting [Atlassian Support.](https://support.atlassian.com/contact/#/)


Tags: jira-service-desk-server

jira-service-management

jira-service-management-server