youngmon/atlassian-qna huggingface dataset:
team to receive new relic alerts in opsgenie
Asked by Ana Laura de Melo:

Hi, is it necessary to create an integration for each team to receive new relic alerts in opsgenie?


Answers:
author: Nick H
body: Hi [@Ana Laura de Melo](/t5/user/viewprofilepage/user-id/4747095) ,

It'd realistically depend on your plan. Under the Free and Essentials plans, you'd need an integration per team. But under the Standard and Enterprise plans an Advanced tab is available where you can filter on the New Relic alerts, determine which Opsgenie teams should receive which alerts, and manage this all under one integration.

You'd want to add this integration from under the Settings menu \>\> Integrations tab. You'd also want to leave the integration unassigned to any team, and head into the Advanced tab:

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

Here is where you can configure what requests create alerts, along with close, ack, add notes, etc. Leaving the integration unassigned opens a Responder field under each create alert action.

You'd want to configure multiple create alert actions that filter on the data being sent from New Relic to Opsgenie. Then depending on the data / filters, determine which team(s) receive the alert:

![nr2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/194915iD3D47F2564F57058/image-size/large?v=v2&px=999 "nr2.jpg")![nr3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/194916iEDDB5DF749794894/image-size/large?v=v2&px=999 "nr3.jpg")

In those two create alert actions above, the filter is looking at the Owner (along with the State). If Owner = IT, these would send to the IT Team. If Owner = Dev, these would send to the Dev Team. And so on.

These actions are processed in an order of operations from top \>\> down, so if Opsgenie does not match the top action, continue looking at the following action(s) until a match is met.


Tags: integration

newrelic
Can we automate alert matrix status checks from opsgenie to confluence page
Asked by Akshata Sundar Mullya:

I need to automate alert matrix severity checks like P1, and P2 from Opsgenie to Atlassian confluence Page. Like I have created dummy rows and columns on the confluence page and I need the direct status checks from opsgenie alerts to that columns. Is there any way to do it, Thank you!!


Answers:
author: Srinatha T
body: Hi [@Akshata Sundar Mullya](/t5/user/viewprofilepage/user-id/4903526) ,

Welcome to Atlassian community.

I am not sure about integrating Opsgenie with Confluence as i did not see any options on the web. But you can use the Statuspage. Details about the same is provided in the below URL

* [Integrate-opsgenie-with-statuspage](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-statuspage/)

I also see that we have integration option with Jira if that helps you. Below is the URL with all the steps for integration

* [Opsgenie and Jira](https://www.atlassian.com/software/opsgenie/jira)

I hope the above info helps.

comments: author: Akshata Sundar Mullya
body: Thanks for the quick response [@Srinatha T](/t5/user/viewprofilepage/user-id/4686256) . Is this possible with Confluence Rest API?


author: Srinatha T
body: [@Akshata Sundar Mullya](/t5/user/viewprofilepage/user-id/4903526) , I am not very sure. At this moment I do not have my opsgenie setup to test. But opsgenie does provide API integration. You can give a try. Below page has all the info about the API.

Thanks,

Srinath T


author: Srinatha T
body: Sorry missed to add the page details.

* [Create-a-default-api-integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/)

Have a good weekend.!

Thanks,

Srinath T


author: Akshata Sundar Mullya
body: Thanks [@Srinatha T](/t5/user/viewprofilepage/user-id/4686256) .I will check it


Tags: cloud
How can we receive alerts into Opsgenie from two seperate Opsgenie accounts?
Asked by Steven Pearson:

I provide out of hours on-call support for two different organizations, each with their own Atlassian accounts. I have therefore two Opsgenie accounts but need to receive alerts from both of these accounts. Is it possible to set up two accounts on the same mobile phone to receive alerts from either, or would I need a separate mobile phone for each account?

Thanks


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

If your login email is the same for both Opsgenie accounts, you can use the same app and simply switch between accounts:

![mobile1.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/194874i040BF66AAC5ED22E/image-dimensions/160x347?v=v2 "mobile1.jpeg")

Otherwise, you can still use the same mobile device for both accounts, and still receive push notifications while logged out of one - but would need to log in to view the alert.

You might also be able to leverage our [Opsgenie \<\< \>\> Opsgenie](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-another-opsgenie/) integration if that's of any help to push alerts from one account to another, or vice versa.
CREATION OF MORE REPORTS
Asked by Saidah Abdallah Namirembe:

Currently the app has default reports.

I would like to manage the filters to create reports for different levels for example one for management that shares data on the worst case scenarios and best scenarios.

ie the highest response times,most repetitive alerts,Users with the best and worst performance.

Reports that are not so general but give the good,the bad and the ugly for decision making.


Answers:
author: Shivam Naik
body: Hello [@Saidah Abdallah Namirembe](/t5/user/viewprofilepage/user-id/4895510) ,

Happy to help!

This is something our Engineering team is working on improving, and we have a Feature Request here <https://jira.atlassian.com/browse/OPSGENIE-367> that I would recommend voting for and following that ticket. Engineering will be reviewing the request requirements and providing updates directly from that ticket going forward for the request.

Please let me know if you have any follow up questions!
Does the OpsGenie API allow querying of MTTR?
Asked by Ray Cooke:

I would like to pull all my business metrics together into one place and part of that is how the support function is operating. These metrics are available on the OpsGenie Analytics tab but I want access to those metrics through the OpsGenie API so I can include them externally. Is this possible?

Cheers,

Ray


Answers:
author: Wei Wung
body: Hi [@Ray Cooke](/t5/user/viewprofilepage/user-id/3552206)

Thank you for reaching out!

Unfortunately, at this time, we currently do have have an Opsgenie API that is able to extract Opsgenie Analytics directly. I am hopeful that is going to be a future capability.

comments: author: Ray Cooke
body: Don't suppose there's a feature request ticket I can upvote for that?
What does this log line mean?
Asked by Chris Thomas:

I am following up an an alert that was missed. As far as I can tell the notification went out, however when I checked the logs an odd line is coming up.

Pretty much what does this alert mean?

*Rule\[New Alert\]\[Create\] -\> Received \[email\] notification on \[XXX@YYY.ZZZ\], EmailStatus: opened*

This is the legacy JSM/Opsgenie integration.

![opsgenie log.png](https://community.atlassian.com/t5/image/serverpage/image-id/194536i533A2B6B008E7BBF/image-size/large?v=v2&px=999 "opsgenie log.png")

There are no updates on the tickets during these times that can explain the message.

Edit, forgot the Opsgenie log, which doesn't help much:

![opsgenie log2.png](https://community.atlassian.com/t5/image/serverpage/image-id/194538iEE183FED379F2549/image-size/large?v=v2&px=999 "opsgenie log2.png")


Answers:
author: John M
body: Hi Chris,

That log in the logs is just indicating that the user has *opened* the email. There are 3 logs for each email that is sent out:

1. Submitted to provider

2. EmailStatus: delivered

3. EmailStatus: opened

comments: author: Chris Thomas
body: John, thank you for the answer.
Ignoring issues entered in JSM but alerting and escalating emailed issues of same IssueType
Asked by robin Dexter:

Hi there,

Part of our configuration is as follows:

* A Jira Incoming Mail Handler is set up to create an issue of Issue Type *Monitoring* in the appropriate Jira Project.
* A Jira WebHook is setup with a *JQL: project = "XXX" AND issuetype = Monitoring*
* Our Integration in OpsGenie successfully logs the emailed monitoring emails via the Create Alert Action with a *Project Key Equals XX* Filter condition

"Monitoring" IssueType can also be selected from the Project's list of IssueTypes for manually entered monitoring issues in JSM.

We don't want the manually entered "Monitoring" Issues to fire off OpsGenie Alerts and escalations, as the agents who have entered the Issue in JSM know about it and will be working on it already.

I can't seem to find a way in the Integration Create Alert Filter to do this.

Any suggestions?

Thanks in advance

Robin Dexter


Answers:
author: Muhammad Zeeshan
body: Hey [@robin Dexter](/t5/user/viewprofilepage/user-id/1630083) ,

After some investigation I see a possible solution for you would be to add '*request-channel-type = email*' in the JQL query in the Jira webhook. This should then only send the issues created via the Email handler.

I am deriving the solution from the information provided here: <https://community.atlassian.com/t5/Jira-Service-Management/List-of-values-of-request-channel-type-Request-channel-type-for/qaq-p/686398> as this is more of a Jira related question than Opsgenie.

Best regards,

comments: author: robin Dexter
body: Thanks for the response.

It didn't work for our setup.

Maybe it is because emails to this project are handled via the Jira incoming Mail Handler rather than through the Email requests in JSM? This project setup pre dates our use of JSM and OpsGenie

We have another project that uses the JSM Helpdesk portal + Email requests, and the JQL in those webhooks does use the request-chanel-type = portal and request-chanel-type = email clauses sucessfully.

Cheers

<br />

Robin


author: Muhammad Zeeshan
body: Hey Robin,

Thanks for confirming that! I see then there is very little to work with for your case as the Jira Incoming Mail Handler is not adding any unique parameters to the payload for us to be able to differentiate it.

Nevertheless, there is yet another workaround; You could choose to create a separate user designated for issue creation through mail. If you configure this user to be the default reporter for your mail handlers, you can run a JQL on that reporter to separate what issues are sent to Opsgenie for alerting. However, this seems to only work if the person sending the email isn't a user within the Jira project so it is not the perfect solution.

Best that can be done for your case is moving your setup to JSM Helpdesk portal + Email requests and/or creating a Feature Suggestion for this functionality here: <https://jira.atlassian.com/secure/Dashboard.jspa>

Best,

Muhammad Zeeshan


Tags: email

jira-service-management
How to push notification alerts in opsgenie when priority is updated to a higher priority
Asked by Theresa Mae Aquino:

Hi, noob question.

All incoming JIRA tickets are automatically set to P3.

I am thinking: Manual update of priotiy in JIRA --\> then manual update of priority in Opsgenie--\> to push the notification alert when updated to P1 or P2.

<br />

is there a way to automate this? --\> an update of priority in JIRA will also reflect in Opsgenie, pushing a notification alert for P1 and P2 tickets. Thank you.


Answers:
author: Chris Thomas
body: By default, increasing priority of an alert in Opsgenie will start the alert process over again.

If you want to have the priority of tickets in JSM to match Opsgenie it depends on what version of JSM you are using. Is it Standard or Professional?

comments: author: Theresa Mae Aquino
body: Thank you for your response and apologies for the late reply.

We are on Premium plan.
Zabbix - Opsgenie Integration.
Asked by itamarb:

Hello All,

I have a question about Zabbix - Opsgenie integration.

Where I work I have an issue, alert created on Zabbix, but was deleted or did not end up in opsgenie. When the Alerts close on Zabbix. the Alerter process jumps to 100%. From the logs seems it searches the Alias. I wanted to know how I can set up a rule , that if the Alias is not found it will skip.


Answers:
author: Darryl Lee
body: Hi [@itamarb](/t5/user/viewprofilepage/user-id/4887265) ,

This is Darryl. I am here to help.

Do you mean when an alert is created on your Zabbix instance but failed to be created on your Opsgenie side?

This may require further investigation by us. Please reach out to [Opsgenie Support](https://support.atlassian.com/opsgenie/) and help provide us with the details to help you better.

Thanks.

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian

comments: author: itamarb
body: Hey Darryl,

No problem getting alerts from Zabbix to OpsGenie.

The problem is if an alert was created on Zabbix. If someone deletes it in OpsGenie when the alert closes on Zabbix. The alerter process in Zabiix will increase to 100% if it does not find the alert anymore.

hope this clarifies what I meant.

Itamar


author: Darryl Lee
body: Hi [@itamarb](/t5/user/viewprofilepage/user-id/4887265) ,

Sorry, I am still not quite sure about your meaning.

Do you mean the Opsgenie alert is deleted by someone and it leads to the alert on the Zabbix side getting closed and this action mistakenly makes the Zabbix increase to 100%?

This doesn't sound correct because if an alert is deleted, Opsgenie **WILL NOT** push any data to the Zabbix side to close the alert.

From my perspective, this may need further investigation to get clear about what actually happened when your Zabbix was closed.

Please reach out to Opsgenie Support and my colleague will help you from there.

Thank you.

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian


Tags: alert

zabbix
Can I send SMS Notification to Cuba?
Asked by A Cuba Voy LLC:

Can I send SMS Notification to Cuba?


Answers:
author: Allister
body: I would have a confirmation with the support via Chat. However, from a quick search, it seems it is not supported   

![cuba.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/193906iC6018FDCC49BEE9A/image-size/large?v=v2&px=999 "cuba.jpg")
Azure integration filtering doesn't seem to catch
Asked by heidi.rechek:

I have a global integration to opsgenie for azure. We have filtered for each team based on apps that apply to teams. We have a catch all as the last filter. Many of our filtered don't catch, they end up in the catch all.   
![opsgenie Azure.png](https://community.atlassian.com/t5/image/serverpage/image-id/193272i7B74792E057AB54F/image-size/large?v=v2&px=999 "opsgenie Azure.png")


Answers:
author: Nick H
body: Hi [@heidi.rechek](/t5/user/viewprofilepage/user-id/3696298) ,

If possible, I'd suggest reviewing the payload being received by Opsgenie under the Settings menu \>\> Logs tab - to see what is/not matching with those fields.

You also could use a [regex condition](https://support.atlassian.com/opsgenie/docs/regular-expressions-for-improved-alert-filtering/) that could look something this one that's simply looking for "oms" regardless of case sensitivity: <https://regex101.com/r/XPCCQt/1>

![regex1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/193285iCD808DD010E18582/image-size/large?v=v2&px=999 "regex1.jpg")
Integrate pagerduty to opsgenie
Asked by Mateus Caruccio:

Hi all.

I'm coming from PagerDuty but must keep it up for a while. Is there any way to forward/copy PD alerts to Opsgenie without any third-party service?

Thanks,

Mateus


Answers:
author: Nick H
body: Hi [@Mateus Caruccio](/t5/user/viewprofilepage/user-id/4881600) ,

We do not have a prebuilt integration with PagerDuty. When Opsgenie does not have a prebuilt integration, customers with typically leverage either an [API integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/) or [Email integration](https://support.atlassian.com/opsgenie/docs/integrate-your-email-with-opsgenie/).

Hope that helps. Let me know if you have any other questions.

comments: author: Mateus Caruccio
body: Hey [@Nick H](/t5/user/viewprofilepage/user-id/2540930)

Thanks for your response. I believe email integration could be a nice one for now.

Regards,

Mateus


author: Elvis Mahmutovic
body: Hi [@Nick H](/t5/user/viewprofilepage/user-id/2540930) we are planning on migrating from PagerDuty to JSM with OpsGenie. Is there any migration apps or API is the only option?


Tags: integration

pagerduty
How to export Opsgenie users with configuration
Asked by William Butt:

Hello,

Is there a way to export a list of Opsgenie users along with configuration around notifications (type of notifications and phone numbers)?

Thank you.

William


Answers:
author: John M
body: Hi William,

There is no report in-app for that, but the [Get User API](https://docs.opsgenie.com/docs/user-api#get-user) will list the user contact number and method for individual users.

You could use the [List User API](https://docs.opsgenie.com/docs/user-api#list-user) first to get all user IDs (which are needed for the Get User API) and then have the Get User API loop through them to list all users and their contact number/methods.

comments: author: William Butt
body: I was looking more for an automated way rather than through the API... I'm not a coder or know how to execute these commands... was hoping there would be a report that could be run. There should be a simpler way to do this.

Thanks for the information though.


author: Jim Hawkins
body: Same situation for me, trying to run a report of unverified users but am not a coder. It seems there would be a way to get a simple list without wading into the "high grass".


author: Diana Shorafa
body: It doesn't seem like the [Get User API](https://docs.opsgenie.com/docs/user-api#get-user) call returns phone numbers.

Has anyone figured out a way to retrieve that piece of information a way or another?


author: William Butt
body: Hey Diana,

I figured this out by if you use <https://docs.opsgenie.com/docs/contact-api> you can get the configured numbers.

*** ** * ** ***

![Opsgenie Contact API.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/301462i314A44C91CF7C29F/image-size/large?v=v2&px=999 "Opsgenie Contact API.jpg")

*** ** * ** ***

Hope that helps
How to add a depended alert
Asked by vinayak.prasannakumar:

I need to get an alert XX only when XY is in an open state and vice versa.

or say when both alerts are in an open state I would like to get some notification/alert about it.

Is there any way to implement this?


Answers:
author: Justin Sitarz
body: Hi Vinayak!

Justin here, from Opsgenie support - happy to help!

The short answer to your questions is no - not directly in Opsgenie, at least. There's not \*really\* a way to alter alert or notification behavior based on other open alerts in your account. Having said that, a few things come close (and may work in your case, depending) - the first is notification policies:

[Atlassian Documentation \| Notification Policies](https://support.atlassian.com/opsgenie/docs/create-and-manage-team-alert-policies/#Notification-Policy)

Notification policies can alter alert notification behavior based on alert duplication - so, you can, for example, require a certain number or rate of duplicate alerts before notifying, or you can delay auto-closing of alerts until after a certain time since the last duplicate was received.

The second is our service/incident framework - incidents function as a sort of 'meta' alert, with the capability to aggregate multiple alerts, and spin off additional alerts to different responders. With this, you could trigger an incident from an alert using our incident rules, and then trigger any number of different responder alerts assigned to individual users or teams. See our documentation for full details on how this framework can be used:

[Atlassian Documentation \| Incident Overview](https://support.atlassian.com/opsgenie/docs/what-is-an-incident/)

[Atlassian Documentation \| Incident Rules](https://support.atlassian.com/opsgenie/docs/automatically-create-an-incident-via-incident-rules/)

While neither of those options might be a perfect solution, there may be something there that allows you to get close to what you're wanting. With that in mind - please do let me know if you have any other questions about this or anything else!

Best,

Justin Sitarz

Atlassian Cloud Support
How to access non shared artifact details via Bamboo REST API
Asked by sishalini:

I am calling the following Bamboo API:

<br />

**<https://bamboo.air-watch.com/rest/api/latest/result/{projectKey-planID}?expand=results.result.artifacts>**

in order to fetch the **total artifact size** for each build.

But in response, I only receive shared artifact details. Is there a way I can access all artifacts(**shared, non-shared**) via bamboo REST API?


Answers:
author: Aditya Singhania
body: Did you find a solution?
Migrate from exists bamboo server to bamboo server dc edition
Asked by Viktor Manushin:

Hello,

is there any instructions how to migrate from bamboo server to Data Center edition?


Answers:
author: Ivan Lima
body: Hi [@Viktor Manushin](/t5/user/viewprofilepage/user-id/3681046), you can [run Bamboo DC on a single node](https://confluence.atlassian.com/bamboo/running-bamboo-data-center-on-a-single-node-1063170549.html), which is, in most cases, upgrade your license. I'm not sure whether there is specific documentation; however, if you are looking at clustering your current installation, you should be able to set it up by following the [Clustering with Bamboo Data Center](https://confluence.atlassian.com/bamboo/clustering-with-bamboo-data-center-1063170551.html)and [Bamboo home migration.](https://confluence.atlassian.com/bamboo/bamboo-home-migration-1063170553.html)

I hope that helps.
REST API authorization not working
Asked by Eugene Podosenov:

I have a Bamboo server 8.0, it is installed on my own server.

I try to authorization in the REST API.

1. I generated a Personal access token in user settings.

2. Then I try to get https://{BAMBOO}/rest/api/latest/result/DUC-BDS-1526?expand=jiraIssues with the header "Authorization: Bearer {TOKEN}"

3. I got this message: {"message":"Authentication anonymousUser has NO permissions to the domain object com.atlassian.bamboo.project.DefaultProject@10da5","status-code":403}

The same situation when I try to use Basic auth

1. URL: https://{BAMBOO}/rest/api/latest/result/DUC-BDS-1526?expand=jiraIssues\&os_authType=any

2. Header: Basic {base64 login:password}

3. The same error message: {"message":"Authentication anonymousUser has NO permissions to the domain object com.atlassian.bamboo.project.DefaultProject@10da5","status-code":403}

What am I doing wrong? I tried to install Bamboo 7.2, and I had the same problem.


Answers:
author: Eugene Podosenov
body: Sorry, I found the problem. My nginx removes all Authorization headers.
Does "Enhanced plan branch configuration" work with Bitbucket Cloud
Asked by bchester404:

The feature description says that it only works with Bitbucket Server, does this include Bitbucket Cloud or is it only for self-hosted Bitbucket Server?


Answers:
author: Alexey Chystoprudov
body: It's accessible for Bitbucket Server only. Please vote and watch <https://jira.atlassian.com/browse/BAM-20807>


Tags: bitbucket