youngmon/atlassian-qna huggingface dataset:
Pause Opsgenie alerts during planned maintenance work
Asked by Tomasz Bis:

Hi,

I would like to find out how I can pause Opsgenie notifications when we carry out some maintenance works (so alerts are expected).

For instance if I would like to pause Opsgenie alerts tonight between 22:00 - 23:00

Many Thanks


Answers:
author: Nick H
body: Hi [@Tomasz Bis](/t5/user/viewprofilepage/user-id/4140419) ,

Most customers pause alert notifications during a maintenance period with a combination of a [Notification policy](https://support.atlassian.com/opsgenie/docs/create-and-manage-team-alert-policies/#Notification-Policy) + [Maintenance policy](https://support.atlassian.com/opsgenie/docs/create-and-manage-maintenance-policies/#Team-Maintenance). **Note** - policies are only included on standalone Opsgenie Standard and Enterprise plans, or JSM-OG Premium and Enterprise plans

Both of these policies can be configured under the team receiving the alerts. The notification policy will manage delaying / suppressing notifications, while the maintenance policy will manage enabling the notification policy during the scheduled window.

Those policies might look something like this:

![not1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/214795iABFBF667EA68F743/image-size/large?v=v2&px=999 "not1.jpg")![maint1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/214796iA9230910DF307EF0/image-size/large?v=v2&px=999 "maint1.jpg")


author: Tomasz Bis
body: Thank you


Tags: cloud
OpsGenie to Confluence Integration
Asked by Randy Everett:

Is there a guide for OpsGenie to Confluence integrations. I can't find any?


Answers:
author: Nick H
body: Hi [@Randy Everett](/t5/user/viewprofilepage/user-id/5008513) ,

Opsgenie does not have an integration with Confluence at this time.

Having said that, incident post mortems can be exported to Confluence cloud if that is what you are referring to: <https://support.atlassian.com/opsgenie/docs/create-a-postmortem-report/#Exporting-postmortems-to-Confluence>

comments: author: Randy Everett
body: Thanks. Another question. Of the postmortems that have been completed, the Export to Confluence option is visible, but NOT ENABLED. How can I enable it?


author: Nick H
body: Hi [@Randy Everett](/t5/user/viewprofilepage/user-id/5008513) ,

Have you tried searching for the space? When selecting it, we're aware nothing populates currently, and we have a [feature request](https://jira.atlassian.com/browse/OPSGENIE-128) to improve the UI:

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

But if your Confluence instance is connected to Opsgenie, and you search for a space, it should populate:

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


author: Randy Everett
body: Hi Nick,

I'm not getting that far. The Export to Confluence is not enable in the ellipsis (...)

![Export to Confluence unenabled.png](https://community.atlassian.com/t5/image/serverpage/image-id/214825i3A5AD8A854CC3FB2/image-size/large?v=v2&px=999 "Export to Confluence unenabled.png")


author: Nick H
body: Hi [@Randy Everett](/t5/user/viewprofilepage/user-id/5008513) ,

Your Opsgenie account should be under an Atlassian site for this feature to work. The [Exporting postmortems to Confluence](https://support.atlassian.com/opsgenie/docs/create-a-postmortem-report/#Exporting-postmortems-to-Confluence) should help with this.

Since your screenshot shows Confluence grayed out, then I have to assume your Opsgenie is not tied to the site your Confluence also lives under.


author: Randy Everett
body: Hi Nick,

Is this "Export to Confluence" available under the self-hosted version (non-cloud)? The self-hosted version is where I see it greyed out, but I asked my IT team to implement that change you suggested and they said it was not available in the non-cloud version. Can you provide any clarity I can give to IT if they are mistaken.

Thanks so much for your help,


author: Nick H
body: Post mortems can only be exported to Confluence cloud at this time, but there is a feature request for Confluence server you can follow, watch and vote for here: <https://jira.atlassian.com/browse/OPSGENIE-853>


Tags: cloud

confluence
Setting a Statuspage component when Opsgenie Alert is closed
Asked by Ste404:

Hey there,

Per the subject, I know when you close an alert in opsgenie the related incident in statuspage is closed, but the status doesn't change.

What do I need to do in Opsgenie in the integration alerts to put the status back to operational when an alert is closed?

Thanks


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

This is Darryl. I am here to help. ?

Understand that you would like to update the affected components' statues while resolving an incident by closing the Opsgenie alert.

This is achievable by defining an action rule for "**If alert is closed in Opsgenie** " and set the action for Statuspage to "**resolve the incident and update the components' statuses according to tags**".

For example:

![Screenshot 2022-09-08 at 10.03.28.png](https://community.atlassian.com/t5/image/serverpage/image-id/214917i2D9ECFF720CA489C/image-dimensions/327x325?v=v2 "Screenshot 2022-09-08 at 10.03.28.png")

The format for the tags to impact the components' statues please find this documentation, which also provides you the details about this integration.

<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-statuspage/>

Hope this is helpful.

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian
Can you pass customfields from JSM to Opsgenie to be used in alert rule automation
Asked by Ste404:

Hi there,

I have this in the 'Tags' section for the incoming create rule from JSM

cmp_{{customfield_10204}}:{{customfield_10203}}

The tags populate but with cmp_null:null

Is there a way to drag over customfield values from JSM that are on the issue form when it is created?

Thanks


Answers:
author: Ste404
body: For anyone looking at this, here is the answer;

cmp_{{customFields.customfield_10204.value.value}}:{{customFields.customfield_10203.value.value}}

BUT I wanted to do the same for Responder and of course it won't accept a customfield string like the Tags field did!

comments: author: Tom Russell
body: [@Ste404](/t5/user/viewprofilepage/user-id/4984517) we set responder from a custom field, but the only way we've found that works is a whole long set of global alert policies, one for each variation of the custom field. We manage it with external scripts hitting the API, so the maint is not a problem, but it's ugly.


author: Ste404
body: Thanks for that, yeh I was surprised I couldn't use any sort of reference to a customfield directly in the responder field.
Incoming Automation Rules - Can Component Be Populated
Asked by Ste404:

Hi all,

I am looking at building up a rule to automatically update a statuspage component based on the alert coming in.

I tried building an automation rule in JSM to construct a label based on some drop down boxes but that happens after the alert is created so the labels (to tags) are not applied.

I was trying to see if there is a way to leverage components in order to build up a tag. I was thinking I could add two components to an issue.. for example "Component name (statuspage)" and another one for "outage type" but not sure if the incoming automation rule in Opsgenie can read multiple components.


Answers:
author: Ste404
body: actually I think this is too problematic an approach. Will see if there is a way to build the labels again from the drop down boxes but not rely on automation. (somehow)


Tags: statuspage
How to create alert in ZenDesk only when an Opsgenie alert is "Escalated to Next"
Asked by Yifat Gillat:

Hi

The scenario: An alert is assigned to Team A. If not solved it is "Escalated To Next" (which includes notification of Team B).

We are trying to set up a rule that will create a ticket in ZenDesk once the alert is "Escalated To Next".

We tried to use the filter in the integration checking for the "Escalated To Next" status, but according to support the filter apply only for newly created alerts.

They also suggested:

As a workaround, and if you are fine with scripting, you may want to build up a REST host or OEC integration to only capture the Escalate to Next action - or when the alert has the P1 priority, then trigger the ticket creation to Zendesk.

Anyone knows how to do that?

Regards,

Yifat


Answers:
author: Nick H
body: Hi [@Yifat Gillat](/t5/user/viewprofilepage/user-id/5023228) ,

Your use case and that workflow are a limitation with the newer v2 Zendesk integration.

With the v2 integration, Zendesk tickets can only be created when an alert is sent to the same team the Zendesk integration is assigned to. The integration will not trigger if the same assigned team is added after creation later in a workflow.

Another limitation with the v2 Zendesk integration is it willcreate Zendesk tickets **only** when an alert is created. You can map actions in the integration that *should* create Zendesk tickets when those alert actions are executed, but these unfortunately do not work.

We're aware of the limitations / confusing UI - and will hopefully have a better experience with the integration soon.

If you open a ticket with Opsgenie support, we should be able to provide some workaround either through OEC or something else: <https://support.atlassian.com/opsgenie/>


Tags: escalation
Is a terraform resource for Slack-Opsgenie integration?
Asked by Pranita Thatichetla:

Hi , I was looking for terraform resource for Slack-Opsgenie integration under <https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs> however could not find anything for Slack integration.

The integration resource that you have **opsgenie-api-integration** does not support 'slack' under the argument **type**list.

I am trying to configure slack integration via terraform

Is there any way you can point me to the right direction or provide some details.

Thanks.


Answers:
author: John M
body: Hi [@Pranita Thatichetla](/t5/user/viewprofilepage/user-id/5022367)

I don't think there is Terraform support for slack integrations. Our documentation specifies that Terraform only creates and manages resources for API and email-based integrations. This is from [Opsgenie's Terraform document](https://support.atlassian.com/opsgenie/docs/opsgenie-terraform-provider/):

Capabilities {#toc-hId--526964751}
----------------------------------

Opsgenie Terraform provider creates and manages the following resources with Terraform.

* Users (without User Contact API),

* Teams (with or without members),

* **API and Email Based Integrations**

* Escalations

* Schedules

* Schedule Rotations

comments: author: Pranita Thatichetla
body: Hi John ,

Thank you for your response. When we try to set up a Slack integration , it generates an API key. The following is from <https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-slack-app/>

![Screen Shot 2022-09-07 at 6.26.28 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/214726i1BEF67505E472B0B/image-size/large?v=v2&px=999 "Screen Shot 2022-09-07 at 6.26.28 PM.png")

so I am assuming Slack integration is done using API keys, however in the Opsgenie Terraform provider - **opsgenie-api-integration ,** for the argument type , the list of arguments does not have Slack listed : <https://support.atlassian.com/opsgenie/docs/integration-types-to-be-used-with-the-api/>


author: John M
body: Hi [@Pranita Thatichetla](/t5/user/viewprofilepage/user-id/5022367) ,

The reason Slack isn't on that list is that to set up the slack integration you must go through the Oauth screens directly from Opsgenie to grant access - something that can't be done via API.


author: Pranita Thatichetla
body: Thank you for your response [@John M](/t5/user/viewprofilepage/user-id/4625213)


Tags: cloud

terraform
Can rotations in OpsGenie divert to other rotations?
Asked by David Meacock:

Let's say I have a Rotation A, filled with the following people:

Matt, Kim, James, Mary, Rowena

Now I want to start up a rotation B but I only have three engineers to stock it for now, Ashley, Bob, and Charlie. That's not enough for my liking, so in the fourth week of each rotation, I'd like to essentially delegate to Rotation A for any alerts on Rotation B.

This effectively means that Rotation B might end up looking something like:

Ash -\> Bob -\> Charlie -\> Mary -\> Ash -\> Bob -\> Charlie -\> James -\> etc

Is this even possible in OpsGenie? I note that you can have "Teams" as participants in rotations, but I suspect the end result of doing that would be _everyone_ in the team would be notified during that week if an alert was raised - and that's not what I want.


Answers:
author: Nick H
body: Hi [@David Meacock](/t5/user/viewprofilepage/user-id/1868741) ,

I *think* that's possible, and I'll provide some suggestions below of the use case you mentioned, but it might require some unique configuration.

Let's say for the sake of this example:

```
Ash = User 1 
Bob = User 2
Charlie = User 3
Matt = User 4
Kim = User 5
James = User 6
Mary = User 7
Rowena = User 8
```

You could combine all of these users into one rotation, and add Users 1-3 multiples times in between User 4-8 with something like this:

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

Another option is breaking this into two rotations where:

```
Rotation A:?Ash, Bob, Charlie

Rotation B: Matt, Kim, James, Mary, Rowena
```

and represent the "skipping" shifts with the option No one to account for something like:

```
Ash -> Bob -> Charlie -> Mary -> Ash -> Bob -> Charlie -> James -> etc
```

Example:

![rot2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/213980i31F931432902393F/image-size/large?v=v2&px=999 "rot2.jpg")![rot3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/213978iBC4FA7F13B0D2BED/image-size/large?v=v2&px=999 "rot3.jpg")![rot4.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/213979iD02E2986C85C60C1/image-size/large?v=v2&px=999 "rot4.jpg")

Regardless, I think it's possible - but not the most ideal situation due to the skipping for Rot A \>\> B \>\> A \>\> etc. Hope that helps.

comments: author: David Meacock
body: Thanks Nick, unfortunately not quite what I'm after due to the overhead of having to manually enter everyone as individuals. If Rotation B was to change, I'd prefer this rotation to change with it rather than having to manually edit both.

I'll take the answer to my original question as being "no" for now, while acknowledging there's some workarounds that can be done - thanks!


Tags: cloud
Alerts stoppage
Asked by Randy Everett:

An OpsGenie alert has been firing off to me intermittently, but frequently, yesterday, last night and this morning. Can't figure out why I'm getting it as I'm not supposed to be in that group, or how to stop it. How to I unsubscribe so I stop receiving the wrong alert?

Thanks, Randy


Answers:
author: John M
body: Hi Randy,

If you check the 'activity log' tab on the alert, it will show which routing rules, escalations, notification rules, etc. were used to send notifications out. You may need to scroll down to the beginning of the history to see that information.

If you are not able to determine why it was sent to you based on the alert log, please either open a chat from within Opsgenie or create a ticket [here](https://support.atlassian.com/contact/#/) so we can request access to your account and help you figure out why you received the notifications.

comments: author: Randy Everett
body: Thanks John.


Tags: cloud
Opsgenie do not send heartbeat alert if incident of another service
Asked by Daniel Albion:

Opsgenie should not send an heartbeat alert if there is an incident by another service. Is this possible to prevent?


Answers:
author: Shivam Naik
body: Hi [@Daniel Albion](/t5/user/viewprofilepage/user-id/5019328) ,

Happy to help!

When you set up Heartbeats using the email seen in the integration:  
![Opsgenie_-_Heartbeats.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/213924i20F0C9FAA4CD624A/image-size/large?v=v2&px=999 "Opsgenie_-_Heartbeats.jpg")

An alert will be generated when the Heartbeat is detected to be expired on the Service being monitored with that email. When you say prevent an alert from another Service, are you wanting to prevent Heartbeat alerts from being created from a specific monitored Service, did you mean you wanted to disable those Alerts for that Service, or do you mean you want to be able to filter on Heartbeat alerts to create Alerts for specific Heartbeat responses?  

At the moment, there isn't a way to filter for specific responses on Heartbeats, the Alert will get created as soon as Expiration is detected, but if that is what you were looking for, we can get a Feature Request filed to add it to the Heartbeat function in future releases.

Please let me know if I've understood your request correctly, and I will follow up accordingly

comments: author: Daniel Albion
body: Hey [@Shivam Naik](/t5/user/viewprofilepage/user-id/3915058)

no, this does not really solve my problem. I want the heartbeat to depend on a service of another team. When team B's heartbeat *HB_B* expires, it should be checked whether team A's service *ServiceA* has an incident. If this is the case, then *HB_B* should not alert. Is it possible to check this and create a condition like this?


author: Shivam Naik
body: Hi [@Daniel Albion](/t5/user/viewprofilepage/user-id/5019328) ,

I ran the scenario you mentioned by my team, and what you could do is set up an Incident Rule on Team A that matches for the Heartbeat alert being created, with Service A (owned by Team A) attached, so the rule itself would look something like this. You could even set it as Match Any conditions, so that it triggers for different types of alerts :  
![Opsgenie_-_Test_Team.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/215123i591ECD5CFB6F8D1D/image-size/large?v=v2&px=999 "Opsgenie_-_Test_Team.jpg")

This will generate an Incident when triggered. [Any subsequent alerts matching this policy would then be made Associated Alerts, and not notify based on its association with an ongoing incident on Team A until it is closed](https://support.atlassian.com/opsgenie/docs/automatically-create-an-incident-via-incident-rules/#:~:text=Auto%2Dmatched%20alert%20behavior).

Please let me know if you have any follow up questions
License Utilization Report
Asked by Sivarama Krishna:

Hi,

From JIRA Software, BitBucket and Crucible servers, I am able to identify the License Utilization and remaining portion.

But I am not able to find the License Utilization in Bamboo Server.

Is the inactive agents will be considered for license or only Active agents?


Answers:
author: Anik Sengupta
body: Hi Sivarama,

For Bamboo License pricing depends upon the number for remote agents configured.

So when you procure the license you need to specify the number of remote agents you need and that would determine the pricing.

Please refer the below link for more details:

<https://www.atlassian.com/software/bamboo/pricing>

Thanks

Anik Sengupta
Bamboo localhost:8085 showing blank page
Asked by vishal pambla:

I have installed bamboo in Ubuntu machine. For two days it was working fine, and I left my instance running I didn't stop instance as I am using AWS and public IP of instance is also not changed but today when I am trying to hit public IP with dedicated port 8085 blank page appearing. please help me out with this.

I have tried restarting instance and also tried executing this command to start bamboo service "./bin/start-bamboo.sh" still not working


Answers:
author: Daniel Ebers
body: Hi [@vishal pambla](/t5/user/viewprofilepage/user-id/4720804)

have you had a chance to check the logfile of Bamboo, yet?  
It might give an additional clue why it is not working as expected.

* **Logging in Bamboo** <https://confluence.atlassian.com/bamboo/logging-in-bamboo-289277239.html>

Regards,  
Daniel


author: Anik Sengupta
body: Hi [@vishal pambla](/t5/user/viewprofilepage/user-id/4720804) ,

Welcome to the community !!

There are two possibilities for the issue you are facing

1) Check your port 8085 status. whether it is in open status. It may be blocked by firewall.

2) Check compatible JDK version is installed or not.

Thanks,

Anik
Running Bamboo as a Windows Service
Asked by Devendar Gangapuram:

Hi Team,

Bamboo runs fine from the Console and Command Prompt. Service appears to be installed correctly, but will not start or an error shows up when trying to run it. While trying to set Bamboo as ''Service", following error comes up.

**![Bamboo-AS-SERVICE-Not-Working.PNG](/t5/image/serverpage/image-id/178942i6F3D2F9A4D2E351E/image-size/large?v=v2&px=999 "Bamboo-AS-SERVICE-Not-Working.PNG")**

**I got below notes from "Bamboo Troubleshooting \& Resolution" article.**

**Link:**

**<https://confluence.atlassian.com/bamkb/running-bamboo-as-a-windows-service-troubleshooting-guide-420973231.html>**

1. Please navigate to your \<bamboo-installation\> directory, right click on \*UninstallService.bat\* and select "Run as Administrator" to uninstall the current service. Make sure it's uninstalled by refreshing the local services page.  
2. Now, right click on the "InstallAsService.bat" and select "Run as Administrator" to install the service.

My doubt is if do follow above instructions , will that uninstall Bamboo instance too or only impacts on "service" only. Because our Bamboo us running on PROD environment, so I need to make sure it should not destroy or interrupt the users.

Thank you,

Dev G.


Answers:
author: Daniel Ebers
body: Hi [@Devendar Gangapuram](/t5/user/viewprofilepage/user-id/2497518)

the error message seems to be suggesting more information could be found from system event log - that means: using Event Viewer you could probably get more information. Have you had the chance to check if this holds true?

<https://www.howtogeek.com/123646/htg-explains-what-the-windows-event-viewer-is-and-how-you-can-use-it/>

Regards,  
Daniel


author: Devendar Gangapuram
body: ![JIRA-AS-SERVICE-Not-Working-JAN-2022.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/178943iD3504481CFFC3A52/image-dimensions/335x207?v=v2 "JIRA-AS-SERVICE-Not-Working-JAN-2022.PNG")

It same with JIRA too.

comments: author: Mahesh Shinde
body: Hi Devender,

Uninstall service means It will uninstall bamboo application.

Make sure to run bamboo service as local user as well as check permission of the user for the bamboo install and home directory: <https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html>.

Please, refer below documents for the more information:

<https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-289277308.html>


Tags: service