youngmon/atlassian-qna huggingface dataset:
Can we parse customized data to jira tickets from New relic
Asked by Chethan GR:

Currently we are creating alerts in Opsgenie from New relic and these alerts must be created in JSM and we already have this in place. Now what we need is to have an option to customize the data in the Jira ticket from the alerts i.e we want capture the data of alerts into jira custom fields.


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

We do have an improved integration framework on the roadmap that will include the ability to populate custom fields when an Opsgenie alert creates an issue in Jira Software, and I believe it will be rolled out to JSM down the line as well.

Currently, the only way to do this would be to [integrate with JSM via OEC](https://docs.opsgenie.com/docs/jiraservicedesk-integration#integration-via-oec-for-on-premise-jira-service-management-usage), and you can customize the actionExecutor.py [script](https://github.com/opsgenie/oec-scripts/blob/master/JiraServiceDesk/scripts/actionExecutor.py) that OEC executes which actually creates the issue in JSM, to populate those custom fields.

Thanks,

Samir


Tags: cloud
Sending email communications when a new incident is opened
Asked by Eva BG:

Hi!

I'd like to use Opsgenie as my incident management tool but I need to personalize some features:

Depending on the type of incident, I need to use different templates (this is easy), so that when I open a new incident, an email communication is automatically sent to any email addresses of several people who don't use opgenie (for example, people outside the company), is that possible? Also, these notifications should show my email address (example@mycompany.com) as if it was sent by me, not Opgenie.

Can you help me to configurate this features in opgenie?

Thanks in advance!


Answers:
author: Nick H
body: Hi [@Eva BG](/t5/user/viewprofilepage/user-id/4248791) ,

The users would need invited into Opsgenie. For this use-case of incident / email communication, it might make sense if they were Stakeholders vs. power Users. Stakeholders have minimal capabilities in Opsgenie but are important individuals to keep informed and updated during an incident:

<https://docs.opsgenie.com/docs/stakeholder-guide>

<https://docs.opsgenie.com/docs/email-templates-for-stakeholder-notifications>

I don't believe Opsgenie can have the Stakeholder email show it's being sent from your email address. Instead it would be from Opsgenie, but you can add a Reply To email when these emails are initially sent out to Stakeholders:

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

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


Tags: cloud
Can we customize Summary & description in opsgenie integrarion
Asked by Chethan GR:

We have integrated new relic with opsgenie and Can we customize summary \& description in the alert created in opsgenie, I don't see the customization option on the integration page.


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

You can customize what data parses in the message or description fields of your New Relic alerts under the integration's Advanced tab. This tab is only offered under the Standard and Enterprise plans:

![newreliccomm1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/131387i98ABF1708377F323/image-size/large?v=v2&px=999 "newreliccomm1.jpg")![newreliccomm2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/131388iEA568B30EB3540F2/image-size/large?v=v2&px=999 "newreliccomm2.jpg")


Tags: cloud
Dark mode bug
Asked by Guy Fisher:

I couldn't find how to file a bug for Opsgenie, so I'll try this instead.

When you have dark mode enabled on the website and click the "?" button in the top right corner, the "contact support", "view documentation", etc links aren't visible. They do show up when you hover over them.


Answers:
author: Nick H
body: Hi [@Guy Fisher](/t5/user/viewprofilepage/user-id/2195825) ,

Thanks for pointing this out! I work with Opsgenie support, and will enter one on your behalf.

comments: author: Guy Fisher
body: Awesome, thanks Nick!


author: Nick H
body: Hi [@Guy Fisher](/t5/user/viewprofilepage/user-id/2195825) ,

This dark mode bug should be fixed now! Thanks again for pointing this out. Let us know if you do not see this reflected in your account:

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


author: Guy Fisher
body: And a follow up? [@Nick H](/t5/user/viewprofilepage/user-id/2540930) , you rock!! Everything looks good now, thank you very much!


author: Jack Brickey
body: report bugs at the [Atlassian Support](https://support.atlassian.com/contact/#/) portal.


Tags: bug

cloud
Azure integration not parsing properties block
Asked by Matt Browne:

If I set some json values on my azure alerts in the data.alertContent.properties block how can I access them from opsgenie?

It looks like they are just ignored, even the docs page has them set but then their lost: <https://docs.opsgenie.com/docs/microsoft-azure-integration>

Is this just a limitation of opsgenie or is there a way to pass values from azure to opsgenie to give an alert more context.

My use case here is I add tags to my alerts which give them content to which client they correspond and I would like to tag my alerts as such.


Answers:
author: Samir
body: Hi [@Matt Browne](/t5/user/viewprofilepage/user-id/4136073) ,

Anything that Opsgenie is receiving in the payload can be parsed into the Opsgenie alerts using [dynamic fields.](https://docs.opsgenie.com/docs/draggable-fields#using-raw-parameters-from-webhook-url-payload-and-headers)

So first thing to check would be the logs in Opsgenie (Settings -\> Logs), and look for the "Received integration request" log for an alert sent from Azure to Opsgenie, then you can confirm that we are receiving these "properties" fields.

You can then parse them out using something like {{_payload.Properties.key1}}, depending on the structure of the Properties field within that payload.


Tags: azure

cloud
How to use the "contains" filter on a policy to match alerts on tags?
Asked by Jonathan Ballet:

Hi,

I'm trying to define a new "delay" policy that would delay until the next morning my alerts that have a tag that contains the "test" string.

I created the policy as shown in the picture below:![Screenshot from 2021-02-16 19-34-25.png](/t5/image/serverpage/image-id/130711iD1C0B1E7DC84BFBF/image-size/large?v=v2&px=999 "Screenshot from 2021-02-16 19-34-25.png")

I'm using Lamp to test my alerts:

* If I send an alert with:

  ```
  opsgenie-lamp createAlert --message "hello world" --tags "test"
  ```

  Then the filter matches, and my alert is correctly delayed.
* If I send an alert with:

  ```
  opsgenie-lamp createAlert --message "test jon" --tags "test 123"
  ```

  Then the filter doesn't match, the alert is not delayed and I'm paged instantly. I tried various combination of the tag value: "test123", "test-123", "test 123", the filter doesn't match.

I could use a regex for that, but I wanted to be sure I understood "contains" correctly (does it actually mean "equal"?)

Thanks for your help!


Answers:
author: Nick H
body: Hi [@Jonathan Ballet](/t5/user/viewprofilepage/user-id/1323897) ,

When filtering by tags and/or teams, please use the '**contains** ' operator and enter the full tag/team name. These two attributes are list attributes and the 'contains' operator would search for the specific tag/team typed within the list: <https://docs.opsgenie.com/docs/terminology-and-capabilities-of-the-reporting-page#advanced-capabilities>

\^ Although the doc outlines this in reporting, the same goes for filtering tags in policies, integrations, etc.

Regex can also be used like you mentioned as well! Hope this helps. Let us know if you have any other questions around this.

comments: author: Jonathan Ballet
body: Hi [@Nick H](/t5/user/viewprofilepage/user-id/2540930)

Thanks for your answer! If I understand correctly, "contains" is for when there's a list of values, such as a list of tags, and the filter would lookup one of the value of the list, right?

It possible to combine both behaviors? Ideally, Id' like to filter my alerts if **any** of the tags value **matches the regexp ".\*test.\*"**, would that work?


author: Nick H
body: That's correct. Tags will always be in a list since they are parsed as an array in the payload. Regex can act like the "contains" condition using an expression like yours.

For example with the test below (no pun intended) - I have a policy that filters using regex, and applies to alerts that match .\*(test).\* in the tag.

I even added "test" in the middle of the tag to show how it can act like "contains" in this example: thisisa**test**forjb

![regextagcomm1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/130748iCA9D2BE92D8D8F43/image-size/large?v=v2&px=999 "regextagcomm1.jpg")![regextagcomm2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/130747i7405814AB7A86282/image-size/large?v=v2&px=999 "regextagcomm2.jpg")


author: Jonathan Ballet
body: [@Nick H](/t5/user/viewprofilepage/user-id/2540930) Thanks a lot, I'll try with this type of filters then!


Tags: cloud
Straight to Major Incident
Asked by Matt Nayler:

Hi folks,

I've recently started a new job with a small company in IT. I've been put in charge of revamping the incident management process. We currently use Jira Service Desk cloud and I'm evaluating changing the process to incorporate Opsgenie.

Currently, when an Incident is raised in Jira, a support analyst handles all of the communications to the rest of the business through a company-wide email through a template. We are essentially using the Jira Incident ticket in the fashion to which I anticipate we will use Opsgenie's major incident process.

My main goal is here is speed, our process currently is slow and cumbersome (formatting a formal email is frustrating when you're attempting to fix a problem but I digress...) so I'm looking to remove all barriers for us in IT to make things as easy as possible when the heat is on.

Is there a way to almost 'bypass' the regular Jira Incident workflow and go straight to a major incident in Opsgenie? It's not a dealbreaker by any means, but our incidents are always major incidents to use the new wording, so using the 'old' incident page on service desk seems a bit redundant.

Appreciate any input!


Answers:
author: Chris Thomas
body: Lets start at the beginning, how does your team currently get notified of a major incident? Is it an automated email, a phone call or something else?

If it's a phone call I would create a new issue type or priority, set the Opsgenie integration to create an alert based on that using JQL and have Opsgenie take over from there sending out notifications that way.

If it's automated then I can't help much as I have only learned the free version of Opsgenie.

comments: author: Matt Nayler
body: Hi Chris,

Thanks for the input. My team (IT) raise incidents manually at the moment and subsequently send out an email notification to the rest of the business.

The primary goal for using Opsgenie is to have it send out that communication for us to allow the analyst to continue with the task rather than having them tied up with manually formatting the email.

That was the spark that got me looking into Opsgenie but intending to make better use of the functionality on top as well, generating Slack channels and automatically raising incidents as well to name a few. There's a lot of hand-cranking in this place and looking to get it all running a bit more smoothly.
Only send to MS Teams if alert is sent to on call
Asked by Matt Browne:

We have integrated MS teams in opsgenie and it will send alerts to channels when alerts fire.

The problem is I have rules set on the alerts which depending on certain conditions alerts can be held, e.g. low priority alerts will not call overnight. But they will ping a message to the teams channel.

This looks to be because the teams integration is separate to the alert integration. Is there a way that messages to teams are only sent if the alert also fires to a human?


Answers:
author: Amit Kumar
body: While it's not the cleanest way to do it, one work-around we use is to create a 2nd team, and direct alerts to this 2nd team. This team just has a Escalation policy of Send to the Primary team after 5 minutes. For your case you can set your priority rules here.

The primary team has the escalation to start immediately and the MS Team integration.

comments: author: Matt Browne
body: thanks - I think that is something I can use as a workaround!


author: Rahul S
body: Hi Matt,

You are right on the fact that MS Teams will be treated as integration and not as Notification.

At the moment, we can only apply the delay policies to alert notifications.

However, we do have an internal Feature request to implement a delay in a similar fashion to Alert notifications.

Thanks,  
Rahul

comments: author: Matt Browne
body: ok thanks - my other idea was if there was a way from an alert to know if a notification had been sent to an on call person, that way we could filter the alerts sent on the teams notification only if that flag is set.

Is that possible in any way?


author: Rahul S
body: Hi Matt,

We have explored various options to implement this, currently, this is not supported on Opsgenie.

Regards,  
Rahul


author: Matt Browne
body: OK - thank you for checking. It would be good if this could be addressed as currently we're considering if we should move to another tool as the ability for teams to do desktop notifications is really useful so we don't need rely on email/phone notifications.


Tags: cloud

ms-teams
Opsgenie Email Integration tags in Jira Integration
Asked by Wei:

Good day to everyone.

<br />

I have an Email integration that applies Tags to an alert. However, those Tags don't seem to be applied by the Jira integration. Instead, all I see is fromOG. In my Jira integration, I have Tags = jira, {{components}}, {{labels}}. I would expect that at minimum, I get the jira tag.

Thanks,

Wei


Answers:
author: Connor Eyles
body: Hi [@Wei](/t5/user/viewprofilepage/user-id/4023799)

Hope you are well :)

Unfortunately, the ability to have tags from Opsgenie create labels in Jira is not possible however we do have a feature request for this one that we are tracking internally with a ticket ID of OGS-717.

I have added you as a requestor for this feature request!

Thanks,  
Connor

comments: author: Wei
body: Thanks Connor, looks like I will be visiting automations some more :)


author: ob
body: We also look for such a feature.

Our use case is:

We would like to trigger some Jira Automation rules which checks then the labels on the created Jira ticket and would execute different actions based on these set labels.


author: Joel Devlin
body: Hoping to get this feature ASAP, or any feature really that will allow us to add standard fields and metadata/tags to the outgoing payload in this official integration.


Tags: cloud
Opsgenie and favicon and look and feel
Asked by robert.nadon:

Hi all,

Does anyone know how to (or if there is an improvement request in Atlassian) change the look and feel for opsgenie? Since it is a unique website that is tied to the other Atlassian products it would be nice to have a consistent look across Confluence, Jira, JSM, OpsGenie, and all the Atlassian products. In particular I usually have several Atlassian instances up at the same time and it is really nice to be able to tell which is which from the favicon...

Best,

Robert


Answers:
author: Siddhartha Mohapatra
body: Hi [@robert.nadon](/t5/user/viewprofilepage/user-id/3877063)   

We do have a different favicon for each Atlassian product.  

![Screenshot 2021-02-12 at 2.43.58 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/130148i2531FF567A01CB8C/image-size/large?v=v2&px=999 "Screenshot 2021-02-12 at 2.43.58 PM.png")  

Are you referring to the favicons of opsgenie to reflect the account details if you have multiple Opsgenie instances in different Atlassian accounts?  

Would you like favicons to indicate the Opsgenie instance name on hover?   

At the moment we can see the opsgenie instance name reflecting on hover.  

![Screenshot 2021-02-12 at 2.49.05 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/130149i7652A91C8C76488D/image-size/large?v=v2&px=999 "Screenshot 2021-02-12 at 2.49.05 PM.png")![Screenshot 2021-02-12 at 2.50.22 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/130150i6AB38D95A7C3EDCF/image-size/large?v=v2&px=999 "Screenshot 2021-02-12 at 2.50.22 PM.png")  

<br />

<br />

Thanks   
Siddhartha

comments: author: robert.nadon
body: Right it has a unique favicon, as does Jira and Confluence.

However, each of those tools has an admin section called "look and feel" whereby you can customize you favicon, header, and sidebar.

Where as OpsGenie does not :-( Neither does Bitbucket from what I can tell.

I just want to know if there is a way to customize my favicon and header.


author: Siddhartha Mohapatra
body: Hi [@robert_nadon](https://community.atlassian.com/t5/user/viewprofilepage/user-id/3877063)   

Happy Monday hope you are doing good!   

Unfortunately, as per the current product architecture, it is not possible to customize the favicon in OPsgenie. However, I will pass this suggestion to the product team.  

Thank you for your feedback have a good day!
How to Integrate Oracle PCRF with Opsgenie?
Asked by Aqdas Jawaid:

Hi,  

I want to integrate Standalone Oracle PCRF with Opsgenie.  

Is there any open source tool to integrate Oracle PCRF with Opsgenie for logs analytics and alerting?  
Any help is appreciable.  

Thanks


Answers:
author: Nick H
body: Hi [@Aqdas Jawaid](/t5/user/viewprofilepage/user-id/4256567) ,

Opsgenie does not have a Oracle PCRF integration, nor do we have any record of customers integrating Opsgenie with Oracle PCRF. The only Oracle integration we have is OEM, but that's probably not much help since they seem to be two different products:

<https://docs.opsgenie.com/docs/oracle-enterprise-manager-integration>

When there is not a prebuilt Opsgenie integration, we'll typically see customers using either an API or Email integration as an alternative to connect their external systems and Opsgenie:

<https://docs.opsgenie.com/docs/api-integration>

<https://docs.opsgenie.com/docs/creating-alerts-via-email>


Tags: cloud
Is it possible to get global/team incident reports similar to the existing alert reports?
Asked by Sean McCreary:

My organization is adopting Opsgenie Incidents for alerting and reporting and while we are overall very satisfied with the Incidents as a feature (particularly the included postmortems), we would like to generate automated reports on incidents by team and globally in a similar way to how Opsgenie currently does with alerts as discussed in the [reporting and analytics](https://docs.opsgenie.com/docs/reporting-and-analytics-overview) overview.

While incidents do generate alerts when you add responders, I would prefer to be able get metrics directly from incidents themselves and an automatic way to do this would be a big time-saver for my team. Thanks.


Answers:
author: Darryl Lee
body: Hi Sean,

This is Darryl, Opsgenie Support, I am here to help!

Understand that you are seeking the analytics reports for incidents in a similar format as Alert Analytics.

In the current design, there are 2 types of analytics reports directly related to the Opsgenie Incidents:

DevOps Metrics -\> <https://docs.opsgenie.com/docs/devops-metrics-team>

Infrastructure Health Reports -\> <https://docs.opsgenie.com/docs/infrastructure-health-reports-global>

However, I do understand that they might not exactly the way you are looking for, hence, we do have an existing feature request for having the Opsgenie Incident Reports, please stay tuned!

Hope this is helpful.

Kind regards,  
Darryl Lee  
Opsgenie Support

comments: author: Sean McCreary
body: Thanks for the reply, that feature request sounds exactly like what I'm looking for. Do you have a public development tracking board that I can follow this feature request on?


author: Sean McCreary
body: Also, I was looking for the Infrastructure Reports feature (as documented here[https://docs.opsgenie.com/docs/infrastructure-health-reports-global](http://?https://docs.opsgenie.com/docs/infrastructure-health-reports-global)) and I couldn't find it in my opsgenie client. Is it only available to some users? I am an admin in my opsgenie org. I've attached a screenshot of my sidebar so you can see that its missing.

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


author: Maciek Konkolowicz
body: Hi Darryl,

Are there any updates on the feature request for OpsGenie Incident Reports? I am currently doing that manually and it would be awesome to know that in the near future I wouldn't have to...


Tags: cloud

incident
Can you grant access to Confluence through Atlassian API?
Asked by Nathan Hutchins:

Hello, I am wondering if it's possible to grant Confluence access to users through Atlassian's API.   

I have a Python script that creates users. I am able to get ticket information and connect to Jira. However, I can't seem to figure out a way to toggle the user's access. I have attached a picture to show what I mean. The access I am talking about is the toggle option in Admin / company_name / Users.   

![access.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/128975i36D9D185B455F5AD/image-size/large?v=v2&px=999 "access.PNG")  
I've read through [these](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permission-schemes/) docs but still can't seem to find what I am looking to do.   


Answers:
author: Elifcan Cakmak
body: Hello,

Did you try to add this new user to confluence-users group using the API?

<https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-group-user-post>

This should enable user to access to Confluence.

Regards,

Elifcan

comments: author: Nathan Hutchins
body: That is what I was looking for.   

Thank you for your help!!


Tags: api

confluence-administration

jira

rest-api
Slack app for Incident Management
Asked by Duncan Adams:

Hi  

So i've been looking into using the incident management of opsgenie and slack. I have tried using the integration but based on the current documentation that was updated 5 months ago, the integration only allows you to create a channel whilst logged into Opsgenie on web but not vice versa.   

Currently we use Opsgenie for all alerting but we are looking in expanding to the incident management but since we work mostly from Slack, we were looking at creating a channel from an alert within slack but it seems like this function is limited on incident management.

Is there a way of creating channels from an alert that has been pushed to slack without having to login to Opsgenie?

[slack-app-for-incident-management](http://slack-app-for-incident-management)


Answers:
author: Mark Campbell-Vincent
body: Hi [@Duncan Adams](/t5/user/viewprofilepage/user-id/4242704) -

There currently isn't a way to create a slack channel from an incident outside of the Opsgenie UI, but we have a feature request to have an API endpoint for this solution. I will add your post to the internal ticket and will update you whenever there is an update on the request.


Tags: slack