youngmon/atlassian-qna huggingface dataset:
Issue installing opsgenie
Asked by Kris Robson:

Hi there

We have DEV environment, and a PROD environment.

PROD used a migration of our old server environment, whereas DEV was clean in terms of users, groups, etc.

DEV has Opsgenie installed, and seems to function normally  

PROD does not have Opsgenie installed in the list of 'system apps', fails to install from marketplace, and in using opsgenie, create/link results in 'Authentication Error'  

Can anyone assist? Using Jira service manager.  

I've tried reviewing users/groups as this fixed ability to install slack integration, but hasn't helped with installing opsgenie  

<br />


Answers:
author: Darryl Lee
body: Hi Kris,

This is Darryl, Opsgenie Support. :)

Thanks for your interest in Opsgenie.

First of all, Opsgenie is a pure cloud-based subscription service so there is no need for any installation.

If you would like to have an Opsgenie instance subscribing under your PROD Atlassian/Jira site, please open up an **Incognito/Private** web page and log in to your PROD account and start a free trial for Opsgenie from here -\> <https://www.atlassian.com/software/opsgenie/try>

For any further issues related to this, I would suggest reaching out to us via this link to have further investigation down to your Atlassian identity. -\> <https://www.atlassian.com/software/opsgenie/contact#/>

Hope this helps.

Kind regards,   
Darryl Lee  
Opsgenie Support
Implement DevOps metrics
Asked by Glen:

Hi, does anyone have experience in implementing DevOps metrics? If yes, would you be able to share with me what you did to collect those metrics? Many thanks.

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


Answers:
author: Darryl Lee
body: Hi Glen,

This is Darryl, Opsgenie Support. :)

It's awesome to know you are interested in this feature.

As the documentation that you've attached in the question description, the definition has been explained in the paragraph, the same here I pasted it in the reply, and also there is also the explanation of each parameter/index that used in the DevOps Metrics analytics report.

One thing to be noted is  
"
> Please note that the DevOps metrics are best visualized and meaningful if you connect your Bitbucket workspaces to your Opsgenie account. This feature is currently only available for those who use Bitbucket as their VCS and deployment tool. Further information on Bitbucket can be found here.

"
> The team-level DevOps Metrics reports allow you to gauge your team's performance in terms of DevOps by providing relevant metrics and their trends. These metrics include the following primary metrics:

*
  > Deployment Frequency - How often is your team performing deployments per the time range selected in the filter.
*
  > Change Failure Ratio - The number of deployments made per number of failures where both incidents and alerts constitute as failures.
*
  > Meant Time To Respond - The average time taken by your team to resolve incidents.

Hope this helps.

Kind regards,   
Darryl Lee  
Opsgenie Support

comments: author: Glen
body: [@Darryl Lee](/t5/user/viewprofilepage/user-id/3680306) Thanks for your reply. We do use Bitbucket as our VCS but deployment tool we use Azure DevOps. Will this still work?
jira server shedule does not work
Asked by johnson liu:

jira server shedule does not work ,and the mail can not send to issue creater , and mail server test weill


Answers:
author: Daniel Ebers
body: Hi [@johnson liu](/t5/user/viewprofilepage/user-id/2233950)

could you please explain a bit more detailed what does not work, what is intended for the function to do and if it worked before?  

It will then be easier for Communiy folks to follow and to give an advise!

Thanks in advance!

Regards,  
Daniel


author: Mark Campbell-Vincent
body: Hi [@johnson liu](/t5/user/viewprofilepage/user-id/2233950) -

It sounds like you're referring to [The Scheduler](https://marketplace.atlassian.com/apps/37456/the-scheduler?hosting=cloud&tab=overview) or another Jira Server feature. Since this does not necessarily relate to Opsgenie, it may be best to reach out to [Jira Server Support](https://support.atlassian.com/jira-software-server/) for further assistance regarding this.

Hope this helps!


Tags: cloud
How are Incident Investigations imagined to work with artifact releases vs Bitbucket repos?
Asked by Adam:

I love the potential of leveraging Bitbucket repos to aide in Incident root cause analysis but it currently assumes the latest commits relate to a given deployment. This doesn't work for teams which host multiple client environments, deployed from multiple versioned artifacts.

To follow the current approach, we'd need a way to take in the following information for a given deployment/environment Service:

* The Artifact Service (e.g. JFrog, Nexus Repository, Maven)
* The mapped artifact IDs = name \& version
* Artifact ID mapping to bitbucket repo release (e.g. branch or tagged release)

I realize things like this isn't easy and takes time. Does anyone have intermediate ideas that go to the spirit of this functionality?


Answers:
author: Mark Campbell-Vincent
body: Hi [@Adam](/t5/user/viewprofilepage/user-id/519777) -

Sounds like instead of seeing "Commits added" in the Opsgenie incident investigation, you would rather have "Artifact versions added", or at least something that correlates to that. Is that correct? I understand that this would help pinpoint the artifact releases that were potential causes to an incident rather than commits that don't necessarily relate to the release.

Although I can't think of any workaround that would work for this use case, I'd be happy to open up a feature request for this if you'd like.


Tags: bitbucket-cloud

jira-service-management
Can you export the opsgenie postmortem to a DC confluence instance?
Asked by Robin Sundstr?m:

I would like to export my opgsgenie postmortems to a DC confluence instance. Is this possible or do i need to have a confluence cloud instance for this to work? From what i have read in the documentation it seems like it needs to be a cloud confluence but I dont feel like it explicitly states that.


Answers:
author: Kate Clavet
body: Hi [@Robin Sundstr?m](/t5/user/viewprofilepage/user-id/4075181) , thanks for your question! At this time exporting an Opsgenie postmortem to Confluence is only available for Cloud. Other requirements include that both accounts must be under the same Atlassian site. I'll pass along your feedback about the documentation.   

Best,

Kate

comments: author: Robin Sundstr?m
body: That?s unfortunate. Is this something that will change in the future ?

Thanks for the answer


author: Dan Brockwell
body: Hey Robin! I'm an Associate Product Manager in Incident Management for Jira Service Management.

We're currently looking to better understand how teams conduct their post incident review (PIR) / postmortem process and their key pain points / user needs.

Came across your feedback and would love to set up some time to learn more about how your team runs PIRs. Feel free to shoot me an email on dbrockwell@atlassian.com if you'd be open to having a chat :)


Tags: cloud
How Iira Service Managers Management integrate with Opsgenie
Asked by Vadym Kalujny:

I need to create alert in the Opsgenie when creating an incident in the Service Desk Management, how can I do this?

I use cloud Service Managers Management


Answers:
author: Nick H
body: Hi [@Vadym Kalujny](/t5/user/viewprofilepage/user-id/3992331) ,

Out of the box, only "Major" incidents will automatically creates Opsgenie alerts / incidents.

If you want other types of JSM incidents or tickets to create Opsgenie alerts, you will need to configure an integration with JSM following these steps: <https://docs.opsgenie.com/docs/jiraservicedesk-integration>

Let us know if you run into any questions or issues with this.

comments: author: Joey Klein
body: [@Nick H](/t5/user/viewprofilepage/user-id/2540930) - I'm just getting started on this as well. Ive read all the documentation and watched videos anmd Im struggling. Do I just need to connect the apps like the documentation above shows or also configure a webhook? I had both and too many things were 'happening' so I removed the webhook thinking I didn't need it and now the connection appears to be broken?


author: Chris Thomas
body: [@Joey Klein](/t5/user/viewprofilepage/user-id/2351835) I'm still learning but I mostly have it figured out I think. They make it very complicated.

After you have Opsgenie set up with teams, on-call and the like you need to go to integrations under teams. Then Add integrations, JSM and it gives you the instructions on how to add a webhook. Add the webhook and use the JQL to identify the types of tickets you want to send to Opsgenie.


author: Nick H
body: [@Chris Thomas](/t5/user/viewprofilepage/user-id/3697803) ,

Thanks correct for integrating JSM \<\< \>\> Opsgenie. We spoke with [@Joey Klein](/t5/user/viewprofilepage/user-id/3952736) through another community post that can be reviewed here:

<https://community.atlassian.com/t5/Opsgenie-questions/Auto-create-Opsgenie-incident-from-JSM/qaq-p/1572121>
Opsgenie integration with Jira and dynatrace
Asked by serge calderara:

Dear all,

I have seen information of the new Alert platform Opsgenie which is part of the new Service Management module.

I have breifly see description of Opsgenie and would like to get some confirmation of use case.

Actually we are using Dynatrace to send alert into Slack in order to be informed on what is happening, but we do not have any jira ticket related to that alert if we need to handle it and follow the resolution.

Is it so that when the combination of Dynatrace + Opsgenie + Jira offer the possibility to automatically create Jira issue in a particular project that can be then follow more closely ?

Thanks for clarification

regards


Answers:
author: Nick H
body: Hi [@serge calderara](/t5/user/viewprofilepage/user-id/3385932) ,

That workflow is certainly possible - where Dynatrace creates an Opsgenie alert, then Opsgenie automates creating a Jira ticket under a specified project.

You'd most like want to configure both the Dynatrace and Jira integrations under the same team.

Then within the Jira integration, specify which Opsgenie alerts will automate creating tickets in Jira. That configuration might look something like this:

![Jira comm 1.1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/122614iE60C13D7A0E60EED/image-size/large?v=v2&px=999 "Jira comm 1.1.jpg")

Opsgenie also has a prebuilt Slack integration - so alerts can trigger messages to a specified Slack channel for others to view.

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


Tags: jira
Alert notification template for alertmanager(prometheus) to send to opsgenie
Asked by Sumit Yadav:

Can any one share a sample template for alerts to be sent from alert manager to opsgenie.

Opsgenie template :

-----------------------

{{ define "ops_summary" }}

Environment: {{ .Alert.Labels.env}}

{{ end }}

I am unable to capture the value of this label and pass it as details tab to opsgenies extra properties. In alert at opsgenie it shows as **{{ template \&quot;ops_summary\&quot; . }}**

opsgenie_configs:

- send_resolved: true

details: { '{{ template "ops_summary" . }}' }

responders:

- name: 'test

type: 'team'


Answers:
author: Nick H
body: Hi [@Sumit Yadav](/t5/user/viewprofilepage/user-id/4198744) ,

A few samples/examples of Alertmanager \<\< \>\> Opsgenie notification templates can be reviewed here in this other community post: <https://community.atlassian.com/t5/Opsgenie-questions/How-to-set-Opsgenie-alert-priority-from-Prometheus-alert/qaq-p/1211053>

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

comments: author: Sumit Yadav
body: Hi [@Nick H](/t5/user/viewprofilepage/user-id/2540930) I used the logic mentioned however I would want to know how to capture single label/annotations value in template. This is a bit confusing.


author: Nick H
body: I'm not an Alertmanager expert - nor have an instance myself to test - so I'm not entirely sure how to capture single label/annotations value in template. This is something you may want to reach out to Prometheus support for.

But - within the Opsgenie-Prometheus integration, you should be able to extract a single label/annotations value using either string processing or regex:

<https://docs.opsgenie.com/docs/string-processing-methods>

<https://docs.opsgenie.com/docs/regular-expressions>


author: Ian Scrivens
body: Hi [@Sumit Yadav](/t5/user/viewprofilepage/user-id/4198744)

If you go in [Atlassian \| Start page](https://start.atlassian.com/) you will find it here

comments: author: Sumit Yadav
body: hi [@Ian Scrivens](/t5/user/viewprofilepage/user-id/1237317) I have updated with sample template I created still facing the issue.


Tags: alert

cloud

prometheus
Aligning on-call across teams
Asked by Seth Esterline:

I have a scheduling situation that I can't find a clear answer for. We have several teams, each with their own on-call schedule currently. Some users are members of more than 1 team. We'd like to line their on-call schedule up so if they're on-call for 1 team, that's the week they're on-call for the other team they're a member of; we're trying to eliminate personA being oncall for Team1 this week and oncall for Team2 next week, essentially.

My best thought right now is to make a new schedule and include all the teams' schedules as rotations rather than their own separate schedule; that lets me see them all in one place and try to get people's oncalls lined up. BUT each team doesn't have the same number of users so it'll always drift over time. My best solution for \*that\* is to pad the difference by adding the team to the rotation(the thought being that, say, every 6th spot in the rotation is filled by 1 person from that team in order); but I'm not sure what happens if I add a team to an oncall rotation; does it notify the whole team? Does it use that team's oncall as a sub-rotation?

I'd love to know the cleanest and most scalable way to do this so we aren't manually checking every quarter for the next quarter to line things up across each team's calendar.


Answers:
author: Samir
body: Hi [@Seth Esterline](/t5/user/viewprofilepage/user-id/4136800) !

So it sounds like the main thing you're looking for is for whenever a person is on-call in 1 schedule, they are on-call in the other schedules at the same time. There isn't really a simple way to achieve this, especially since you mentioned that each schedule doesn't have the same number of participants.

I don't think the option of having 1 schedule, with each team having their own rotation would work. As when alert notifies a schedule, anyone who is on-call in any rotations in that schedule would be notified. So in that case whoever is on-call in TeamA, would be getting notified for alerts that are intended for TeamB for example.

I think the best way to see what can be done here would be if you could reach out to support via the in-app chat (if on a paid plan), or via support.atlassian.com - that way one of our Support Engineers can access to your account to see how you have your schedules/teams configured.


Tags: cloud
'Do not disturb' override option missing. Android
Asked by pmorgan:

Every time I open the Opsgenie App on Android it prompts me to override the Do Not Disturb settings.

But the subsequent Android settings menu doesn't contain Opsgenie as an option!

Strangely, this worked prior to me reinstalling Opsgenie under my Work profile (Workspace)

What can I do to fix this?


Answers:
author: andani
body: Hi [@pmorgan](/t5/user/viewprofilepage/user-id/4188854), one of the members of Opsgenie Mobile team is here to answer your question.

It is an issue regarding an Android restriction.

The android docs say:  
"Managed profiles cannot grant Do Not Disturb access."  
[https://developer.android.com/reference/android/provider/Settings#ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS](https://developer.android.com/reference/android/provider/Settings#ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS "https://developer.android.com/reference/android/provider/Settings#ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS")

"The Android platform allows devices to have work profiles (sometimes referred to as managed profiles)."  
[https://developer.android.com/work/managed-profiles](https://developer.android.com/work/managed-profiles "https://developer.android.com/work/managed-profiles")

The workaround we suggest is:

If you have Opsgenie on both "Personal Profile" and "Work Profile" you will be able to see Opsgenie in the DnD permission list of "Work Profile" and enable DnD access to Opsgenie. If you then uninstall Opsgenie from "Personal Profile", Opsgenie will stop showing up in the list of "Work Profile", but it will still bypass DnD as expected.

I hope this workaround would work for you too. Do not hesitate to contact us if you have any further questions. Have a nice day.

comments: author: pmorgan
body: That has worked! I just needed to add the Opsgenie numbers to my personal Contacts instead of Work Contacts.

Thanks for the quick solution!


author: Carlos del Castillo
body: Also worked for me. Thanks!

You don't even have to do any setup with the Personal Profile. Just add the application. Then go into the Work Profile application and enable DnD.


author: Steve Welham
body: Tried this workaround on Android 13 today. Did not work.


author: Eric Liprandi
body: [@Steve Welham](/t5/user/viewprofilepage/user-id/4649233) FYI, I just asked [a new question](https://community.atlassian.com/t5/Opsgenie-questions/OpsGenie-cannot-override-DnD-settings-with-Android-13-and-work/qaq-p/2235709?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*) since this one is marked as answered. Having similar issues.


author: Maxim Marintchenko
body: This did not work for me (Android 12 on Pixel 3)


Tags: cloud
Is there actual PDF documentation or just web pages?
Asked by Kevin Kinney:

Is there actual PDF documentation or just web pages?

If there is documentation, where can I download it?


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

We only have web pages at this time. Those can all be reviewed here: <https://docs.opsgenie.com/docs/welcome>

There isn't a button in these pages to download the documents. So sharing a link to the page is most likely the best option.

Otherwise - you could manually export these via PDF by:

right clicking on page \>\> click Print \>\> select Save as PDF under the Destination:

![export comm 1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/121390i519A29F09C6E3899/image-size/large?v=v2&px=999 "export comm 1.jpg")![export comm 2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/121389iE45F5ACEC03993EE/image-size/large?v=v2&px=999 "export comm 2.jpg")

comments: author: Kevin Kinney
body: Too bad. Maybe I'll start using Opsgenie when it's documented.  

Html only documentation actively repels people used to reading manuals built on IBM's Guide/Reference/Redbook strategy.

Contact me when there's documentation along those lines.


author: Kate Clavet
body: Hi [@Kevin Kinney](/t5/user/viewprofilepage/user-id/3944103) thanks for sharing your feedback around wanting PDF, downloadable documentation. We'll pass this along to the proper team! Let us know if there's anything else we can help with.


author: Kevin Kinney
body: No table of contents? No index? No documentation.


Tags: cloud
Freshdesk Case details sent to Microsoft Teams contain HTML code blocks, is there a way to clean?
Asked by Aaron Armagost:

Community! I need your help to see if there is a way to fix the details of the alerts seen in MS Teams as they are wrapped in HTML code.

Example:

Freshdesk Case: <https://URL/Case/9861> Description: \<div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif; font-size:13px"\>\<div dir="ltr"\>TEST SEV 1\</div\>\</div\>

Requester Name:

Queue: NA SLA Response Time : March 4 2021 at 05:13 PM EST

|-----------|------------------|
| Priority: | P1               |
| Status:   | \[Acked / open\] |
| Source:   | Freshdesk        |

--

As you can see the description is only 'TEST SEV 1' but it is wrapped in HTML code in Teams. The alert in the OpsGenie looks fine. Did anyone see a way to clean this up?


Answers:
author: Allen Barnard
body: Hi Arron,

<br />

Adaptive Cards is currently used to display alert content from Opsgenie in MsTeams. I have investigated this issue extensively and can confirm that Adaptive Cards does not support rendering of HTML (we have a feature request internal ref: [HEIMDALL-4713](https://ifountain.atlassian.net/browse/HEIMDALL-4713) on the product roadmap expected to be reviewed before the end of Q2 2021)   

It does however support markdown but with limitations.  

```
Please note the following markdown is not supported:

Tables
Images
Preformatted text
Blockquotes

The markdown line breaks \r \n and \n\n are not supported, the only supported line break is a hard line break (2 whitespaces at the end of a line.)

Here is an example of text formatted with supported markdown:

Bold text: 
**Bold text string**

Italic text: 
_Italic text string_

Unsorted list:
- Item1
- Item2
- Item3

Numbered list:
1. Item1
2. Item2
3. Item3

URL with titles: 
[This is the URL title](https://example.com)
```


Tags: cloud
Timezone of OpsGenie subscription change Notice
Asked by Josh Forman:

Hello,

I changed my subscription plan and want to test when it goes into effect to make sure I still have the functionality I need. I see this message on my subscription page:

Your current plan will change to **Monthly Standard** with **19** number of users on **Dec 5, 2020 7:49 PM**

I'm assuming the app knows what timezone I'm in and is giving me that time in my timezone. If anyone could confirm that for me I would appreciate it. Thanks!


Answers:
author: Allen Barnard
body: Hi Josh,  

The messages will contain time references that are relevant to your Opsgenie Accounts time zone.  

Users with Owner role accounts can check this setting by logging into Opsgenie, go to settings, then select profile settings. There you will see the Account Time Zone.

![timezone.png](https://community.atlassian.com/t5/image/serverpage/image-id/121188i32FE1590D26093B0/image-dimensions/541x354?v=v2 "timezone.png")

Thanks and kind regards,

Allen.

comments: author: Josh Forman
body: Thanks!


Tags: cloud
Update subscription plan over API
Asked by Mikhail:

How to add 1 seat for OpsGenie over API?  
Now I adding here <https://app.opsgenie.com/settings/billing/subscription> over web, but I need over API


Answers:
author: Allen Barnard
body: Hi Mikhail,  

I am sorry to say what you are asking for is not possible via the API, subscriptions and plans are not manageable via the Opsenie API. The "Account API" only provides a "get" method, by design we have not included any "set" no method in the API. You can use <https://docs.opsgenie.com/docs/account-api> to construct logic in a script, if your **userCount** value is close to exceeding the **maxUserCount** value, send "create alert" using Alert API <https://docs.opsgenie.com/docs/alert-api#create-alert>.  

Thanks and kind regards,

Allen Barnard


Tags: billing

rest-api