youngmon/atlassian-qna huggingface dataset:
Email alert filtering
Asked by Jonathan Moeller:

I have searched the forum before posting. I am looking to simply reject or deprioritize incoming email alerts within OpsGenie. For example, using the email integration ignore any incoming email with the subject Test.

In the forum I see people post good instructions, but I don't seem to have that option. I am thinking it may be licensing related. We are on the "Essentials" package.

I have added an email integration.   
![Email Integration1.png](/t5/image/serverpage/image-id/297547i43AEAFFE9E449097/image-size/large?v=v2&px=999 "Email Integration1.png")

When I back out and look at the team, I only see the following options

![Email Integration2.png](/t5/image/serverpage/image-id/297548iEEC2F8B7BD434C64/image-size/large?v=v2&px=999 "Email Integration2.png")When I see other related posts, I see more options.

![Other post.png](/t5/image/serverpage/image-id/297549i77F9EEB438C675C1/image-size/large?v=v2&px=999 "Other post.png")

This is an example of other posts and I don't see anything like this.

Questions:

1. Is this just a licensing issue or am I missing something?

2. Within the email integration there is an alert creation rule (see bottom of first image). I click on the edit alert rule and see the following, but I can't find any documentation on how this work.

![Alert Rule.png](/t5/image/serverpage/image-id/297550iA5D777E87BCC63B0/image-size/large?v=v2&px=999 "Alert Rule.png")

Any guidance would be appreciated.


Answers:
author: eugenio_onofre
body: Hi [@Jonathan Moeller](/t5/user/viewprofilepage/user-id/4409181)

The "Create Alert" rule is where you set filters for the alert you want to be created or not. Unfortunately, in any of the pricing tiers, you cannot use "does not contain" comparison on your criteria, which would not allow you to achieve the desired behavior.

I would suggest trying to create a negative regular expression to validate TEST terms. Example below:

    ^((?!test).)*$

The fields you mention on your question #2 are just the content of the email mapped to Opsgenie fields.

Please do not forget to accept this answer in case it helps you resolve your issue as it may help other community members in the future.

Regards,  
Eugenio
Does OpsGenie reject emails from "no-reply" addresses?
Asked by Ryan Bullock:

I have an email integration set up for alerts from an application but alerts are not getting created. I do not even see any record of them being received in the logs. I know is it partially working because replies to that email are getting logged (and ignored as I have set up an ignore rule for replies).

The email the alerts are sent from is a no-reply@ address. Does OpsGenie ignore/reject these so they don't even make it to our instance?


Answers:
author: eugenio_onofre
body: Hi [@Ryan Bullock](/t5/user/viewprofilepage/user-id/4343687)

Thanks for your question!  
There is no restriction about noreply emails.

Please refer to below official documentation:  
<https://support.atlassian.com/opsgenie/docs/integrate-your-email-with-opsgenie/>

I strongly suggest raising a ticket with Atlassian Support so they can better assist you.

comments: author: Ryan Bullock
body: Yes, I do have a ticket open as well. I reviewed that documentation before I posted but didn't see anything related to my issue.

It odd to me that the replies including the integration email are coming through but not the original. Which makes me believe it's the sender or something in the original email header that OpsGenie is rejecting.


author: eugenio_onofre
body: Yes, I would suggest waiting the response from Atlassian Support Team.

Please do not forget to mark this answer as accepted so it can help other users in the future.

Thanks!


Tags: email
Limitations on free account
Asked by Eric Hillman:

I have an integration with Whatsup Gold. The alert has preconfigured text that it sends. If I am using a free Opsgenie account, will there be any limitations with the text it is allowed to send? Also, will my Whatsup integration stop working when my trial is over and it goes to a free acct?


Answers:
author: Rafael Meira
body: Hey [@Eric Hillman](/t5/user/viewprofilepage/user-id/5387996) I am not able to verify your account, so as you are explaining, your Opsgenie instance now is not under a trial account, correct? It is on the free version?  

You will face different types of limitations, as you can see here: <https://www.atlassian.com/software/opsgenie/pricing>  

The free account has many features, but when it comes to Integrations, you will face text limitations.  

If you open a ticket support with us, we can verify which trial you are using and provide you with the proper steps in order to continue using the features after your trial ends.  

Here is our support link: <https://support.atlassian.com/opsgenie/>  

<br />

Best,  
Rafa


Tags: cloud
Just need SMS Alerts
Asked by Eric Hillman:

We have our own monitoring software at our company. I need it to send sms messages for critical alerts, but sending to \<phone number\>@vtext.com isn't reliable. It's never been reliable. So I need this service to send reliable sms alerts to our phones. I don't need an on-call schedule or some of the other features of opsgenie. Once I create my account and setup my cell phone in the SMS field, how do I setup my monitor software to send alerts? Is it an email address like \<username\>@opsgenie.com? For some reason I'm just not finding this answer.

Also, is this overkill? Is there a better way of doing what I want to do? Thanks!


Answers:
author: Jack Brickey
body: Hi [@Eric Hillman](/t5/user/viewprofilepage/user-id/5387996) , welcome to the community.

Have you seen the documentation on this as yet? [set-up-your-alert-notifications](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-your-alert-notifications/)

comments: author: Eric Hillman
body: Yes. It looks like that shows you how to setup where you want your alerts to go: phone, email voice, etc... I'm asking how do I send an alert from my internal network? I'm assuming I'll get some sort of email [@OpsGenie](/t5/user/viewprofilepage/user-id/1671990).com that will forward the message to whatever I have setup as my preferred form of alert ie SMS.


author: Jack Brickey
body: The subsequent article [create-and-manage-notification-preferences](https://support.atlassian.com/opsgenie/docs/create-and-manage-notification-preferences/) discusses how to define the alert preferences by user. So when a user is on call then the will be alerted by the system according to their preferences. It won't be an email unless that is specifically how the user is set up. You mentioned earlier, not needing to set up schedules but if your method of operation is to simply have a single individual, always handling the issues then you set up a simple, schedule, for that person, I.e. always on call.


author: Eric Hillman
body: I think I figured it out. Apparently, you add an api string to your monitoring app to connect it and allow it to send alerts. Not sure if this is the only way though. What if I want to write a script to send an alert? What command would I use to send it?


author: Eric Hillman
body: Got it. You have to create an integration with email, then it gives you an email address to use for whatever notification type you chose. Thanks


Tags: cloud
Alert creation Suppression
Asked by Agrawal Shashank:

Hello, We send multiple alerts from different sources into Ops-Genie and one of the source is GCP stackdriver. We have created multiple alerting policies in GCP and integrated it using GCP Stackdriver integration in Ops-Genie.

Now I have a scenario where there are some nightly refresh happens for some of our services so I would like to suppress those alerts creation in Ops-Genie during that time because they are kind of false positives and happens because of the maintenance. (Please note what I mean here is I don't want Ops-Genie to even create the alert itself).

How do I create something like a daily schedule between 1 -2 AM in the morning for some of the alerting and tell Ops-Genie not to create any alerts? Is that something possible in Ops-genie?

Best Regards,  
Shashank


Answers:
author: John M
body: Hi [@Agrawal Shashank](/t5/user/viewprofilepage/user-id/5019698) ,

While we do have maintenance policies that can disable integrations, they aren't able to to work on daily schedules, though we have a feature request for that here:

<https://jira.atlassian.com/browse/OPSGENIE-451>

The next best thing, other than preventing the alert from being created, would be to suppress all of it's notifications and then close the alert, which you can do with a notification policy as long as the alert is assigned to the team where the policy is configured. ![2023-12-14_14-25-44.png](https://community.atlassian.com/t5/image/serverpage/image-id/296928i87C476F114D6862A/image-size/large?v=v2&px=999 "2023-12-14_14-25-44.png")
How to set secondary user for incoming call if the primary user doesn't receive?
Asked by Usha:

Hi Team,

I have integrated Incoming Call to Opsgenie, now I understand the routing rules are only for alerts, I would like to know how can I set the on call schedule or modify the settings in Incoming call so that if the on call user doesn't pick the call , the call goes to next person in rotation (rather than random numbers), I have set the number of users to be tried as 2.

Thanks,

Usha


Answers:
author: Rafael Meira
body: Sure, [@Usha](/t5/user/viewprofilepage/user-id/5386093) . Here's are some steps:

First, create an On-Call Schedule:  
- Refer to the provided documents to create a schedule that suits your needs.

Once the schedule is set, create an Escalation:  
- Go to 'Settings' \> 'Escalations' \> 'Add Escalation'.  
- Name your escalation and click 'Next'.  
- Click 'Add Rule', set the time in 'If not acknowledged within', then select user(s) in 'Notify'.  
- Click 'Add Rule' again.

These steps ensure that if the primary user doesn't answer, the call will go to the next person in rotation instead of random numbers.  

<br />

Best,  
Rafa


Tags: cloud
Event types
Asked by Gregg:

Hello,

I am looking to add Jira worklogs to opsgenie notes and I cannot find the correct syntax anywhere for this. Can this be done? I have tried the following syntax's and many more:

issue_worklogged

issue_updated

issue_worklog_comment

issue_worklog

__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT__PRESENT


Answers:
author: Chris DeGidio
body: Hi Gregg,

You will more than likely have to build out the population of the fields with the {{_payload}} format. We have a previous article published for this:

<https://community.atlassian.com/t5/Opsgenie-articles/How-to-Extract-Custom-Fields-and-Data-into-an-Alert/ba-p/2133902>

Please let us know if this helps :)

- Chris
How to stop the alert being created during Maintenance window
Asked by VIVEK SINGH:

hi Support team,

We have some alerts from integration which triggers only during some specific maintenance period , how can i stop the create the alert over opsgenie.

\> delay notification i used but it will delay only notification not stop creating alert.

\> I created alert policy and call that alert policy in "**Maintenance"**but it didn't worked . Please suggest.

**"Maintenance can be used to enable/disable multiple alert policies/integrations in order to prevent alerts from being created or activate other maintenance routines. You can create multiple maintenance entrie" - I tested it didn't worked.**


Answers:
author: John M
body: Hi [@VIVEK SINGH](/t5/user/viewprofilepage/user-id/5364117) ,

John from Opsgenie support here, happy to assist.

One common reason maintenance policies may not be applied is that the alert is not assigned to the team where the policies is set up.

Maintenance policies are configured on a team level, which means the alert must have an owner team for the team's policies to be applied.


Tags: cloud
Opsgenie summary alert change
Asked by Florin:

Hello,

In our project, we have set up Opsgenie for alerts. They all came with the generic "incident raised" summary. (see picture 1).

![1.PNG](/t5/image/serverpage/image-id/296380i5B57B775B892311C/image-dimensions/296x227?v=v2 "1.PNG")

I am trying to change this for the alert to show the ticket summary.

I tried to see if, in the email templates, I could achieve this but I was without success.

Then I started playing around with the integration part in settings. I can create an integration, assign it to a team, and change the alert message to include the ticket summary.

So far so good but seems that the priority on them is messed up using the dynamic field {{priority}}. So to fix this I had to manually create them in the integration. (see picture 2).

![2.PNG](/t5/image/serverpage/image-id/296382iE29B2D72D061DE67/image-dimensions/288x235?v=v2 "2.PNG")

This is the final result:

![4.PNG](/t5/image/serverpage/image-id/296384i16B4E6D446E5598C/image-dimensions/152x264?v=v2 "4.PNG")

This seems to be okay for me, but then I wanted to make the integration global for all new notifications so that we get to have the exact summary of the ticket. But, when I changed it to global, notifications were not being received.

![3.PNG](/t5/image/serverpage/image-id/296383i8DBF7ED26CCEB7A0/image-dimensions/413x174?v=v2 "3.PNG")

After this, I tried changing the default API integration, I thought that if I applied the same alert rules as my integration to the default one it would work. But priority conditions on the default one are not the same as the priority conditions on the integration I created. So this doesn't work.

Long story short, what I am trying to achieve is to have the alerts (from the first image) showing the exact summary of the ticket raised and its priority. I want this global for all notifications for all teams.

Does anyone have any ideas on how to achieve this? Any help will be much appreciated.

Thank you,

Florin


Answers:
author: Jonas Martinez
body: Hi Florin! I think the issue here is that once you switched from a team integration to a global integration and now your alerts are left without a responder. When an integration is tied to a team, all alerts created by that integration go to your team's routing rules by default. When creating alerts from a global integration, they are created under no team (by default) and thus no one gets notified.

I think you would benefit from implementing alert policies to your Opsgenie workflow. With alert policies you can edit both team and priority of an alert created from a global integration so you may modify the alert fields based on whichever filters you choose. Sounds like you are trying to edit the priority and responder fields of those global alerts.

<https://support.atlassian.com/opsgenie/docs/create-and-manage-global-alert-policies/>

Hopefully this gets you in the right direction, but don't hesitate to send us a support ticket if you run into any further issues :)


Tags: cloud
Slack Integration
Asked by Pamela Lovett:

I am setting up a rotation for manually deploying releases on my team. I would like the ability to post when someone's "rotation" starts using the Slack integration; however, it looks like I'm only able to send schedule alerts/reminders via email or text. Is there a way to send that notification to a slack channel instead? Or in addition to the other notification types?


Answers:
author: John M
body: Hi [@Pamela Lovett](/t5/user/viewprofilepage/user-id/5384062) !

John from Opsgenie support, happy to assist! We do already have a feature request in place for Slack notifications for 'schedule start' here:

<https://jira.atlassian.com/browse/OPSGENIE-365>

**Here is the current workaround:**

Where available in the Integrations tab of the Channel or DM, Slack allows you to [create an email address for a channel or DM](https://slack.com/help/articles/206819278-Send-emails-to-Slack).

In the User's Notification tab in Opsgenie, this Slack email can then be added as an additional email Contact Method which can then be used in any of the User's notification rules including Schedule Start.
How to disable alert creation on incident creation
Asked by jsimon:

Automatically creating an alert when manually creating an incident is redundant and toilsome to manage. It also creates an unnecessary additional alert when creating an incident from an existing alert. Why?

I'm sure there are 'workflows' that can take advantage of this, but it's extremely annoying when your not using this feature.**Is there a way I can disable this?** If not, there should be.

Expected behavior:

- User opens a new incident

- User manages incident as normal

Actual Behavior:

- User opens a new incident

- System automatically creates an alert

- User manages noise from unnecessary alert

- User manages incident


Answers:
author: Mubeen Mohammed
body: Hello [@jsimon](/t5/user/viewprofilepage/user-id/5382555)

Thank you for contacting the Atlassian Community. This is Mubeen from Opsgenie support team.

Currently Opsgenie doesn't provide the option to disable responder alerts specifically for manually created incidents. Responder alerts are a part of the incident management workflow in Opsgenie and cannot be selectively disabled. The system is designed to ensure that responders are alerted when an incident occurs, regardless of whether the incident was created manually or through an automated process.

However, we have an open feature request with our engineering team for this ability. [OPSGENIE-16](https://jira.atlassian.com/browse/OPSGENIE-16) is the ticket ID for your reference. You can further follow/vote/comment on the ticket accordingly and the Feature request has listed the option with a workaround to route the alert to a Dummy team. You can review the workaround option if it suits your requirements.

Thank you for your understanding.

Regards

Mubeen Mohammed

Cloud Support Engineer


Tags: cloud
Opsgenie JSM Ticket Creation By Count Threshold?
Asked by Robert _Bobby_ Mittendorf:

We are trying to configure the JSM integration in a way that *seems*like it would be basic functionality. Basically, we just want to set a condition to have the JSM integration only create tickets if the count on a given alert goes above a certain threshold. Is there any way to do this and better yet can the count be passed to JSM as a custom field as well? Google, forums, and GPT haven't gotten me anywhere so hopefully someone here can help!


Answers:
author: Muhammad Zeeshan
body: Hey Robert,

It is not directly possible to filter Alerts for Integrations via their count threshold. However, there is a workaround you can apply:

1. Create a "Dummy" team and add the JSM integration to that dummy team.
2. On the team that the alerts are going to, create an escalation policy that routes these alerts to that dummy team. And add a routing rule on this team to filter for these specific alerts, and route them to this escalation policy.
3. On this (original, not dummy) team, add a Notification policy that filters for these alerts, and delays notifications until the count reaches X.

How it works:

1. Alert gets created and applies Notification rule which delays notifications until count reaches X.
2. Once count reaches X, notification flow begins and alert matches routing rule which routes it to the escalation which has the "route to dummy team" step.
3. Alert gets routed to dummy team and triggers the JSM integration on this team which creates the JSM ticket.

Best regards,

comments: author: Robert _Bobby_ Mittendorf
body: Alright, I think I got it! I've successfully seen the system create a ticket at the desired threshold, so thank you!

I have one follow up question. With this structure, it looks like automated ticket closure doesn't trigger. Is there any way to keep that functionality as well? For context, the request here is that:

1. Alerts only generate JSM tickets after 8 consecutive failures (Done)
2. Alerts that go over 16 consecutive failures should have their associated JSM tickets auto assigned
   1. I know what to do on the JSM side, but getting the data from Opsgenie is where I'm struggling
3. Alerts that self resolve before 16 failures automatically close the JSM ticket without assigning to anyone
can we configure bamboo plans to handle multiple pull request from different repositories?
Asked by Gefei Jiang:

we have a product which consists of multiple source code repositories. in order to make a build as a whole Bamboo needs to receive PR message from each repository to trigger a chain of builds. can we do that?


Answers:
author: Shashank Kumar
body: Hello Gefei,

Yes you can do that, You can follow the below steps.

1. First linked both the source code repositories in Bamboo under Linked repositories, refer <https://confluence.atlassian.com/bamboo/linking-to-source-code-repositories-671089223.html>

2. Inside the plan configuration, you can link both the linked repositories

3. Inside the triggers for this plan you can setup the Trigger which will be applicable for both the repositories.

4. Now build will be trigerred for code changes from any of these repositories
SSH connection to target failed. Message 'Exhausted available authentication methods'
Asked by Kai Sookwongse:

SSH key worked successfully if I connect manually but bamboo process failed with the message Exhausted available authentication methods.

Would you have any suggestions where to check?


Answers:
author: Eduardo Alvarenga
body: Hello [@Kai Sookwongse](/t5/user/viewprofilepage/user-id/5238119)

Welcome to **Atlassian Community**!

Can you provide us with a bit of context about what you are trying to achieve so we can assist you?

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Kai Sookwongse
body: SSH was setup and tested by logging on to the source server (running Bamboo) and SSH to target server. The test was successful.

Using deployment scrip from Bamboo server, using same account and SSH key, got error

07-Jun-2023 17:23:33 Connecting to 10.30.0.21 on port: 22

07-Jun-2023 17:23:33 Failed to connect to host  
07-Jun-2023 17:23:33 net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods  
07-Jun-2023 17:23:33 at net.schmizz.sshj.SSHClient.auth(SSHClient.java:230)  
07-Jun-2023 17:23:33 at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:345)  
07-Jun-2023 17:23:33 at com.atlassian.bamboo.plugins.scp.SshTask.execute(SshTask.java:103)


author: Kai Sookwongse
body: The same Bamboo deployment process worked to different target server with the same SSH private and public key.


author: Eduardo Alvarenga
body: Hello [@Kai Sookwongse](/t5/user/viewprofilepage/user-id/5238119)

Bamboo does not use the OpenSSH client to connect to the target host. Instead, it uses the *sshj* java library. If you are using an old Bamboo version, *sshj* may not support the authentication methods offered by modern SSH servers.

Either upgrade Bamboo to a recent release (9.3) or try adding something like this to your SSH server configuration file (usually /etc/ssh/sshd_config) and restart the service:

```
KexAlgorithms +diffie-hellman-group1-sha1
```

It may also be the case of something going on with your OpenSSH Server. For that, you will have to debug that service outside of Bamboo to figure out why it is rejecting the connection. I suggest you compare the OpenSSH version and configuration from the server that works with the one that doesn't.

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


author: Kai Sookwongse
body: Thank you. We have made the change and added the algorithms as suggested. Bamboo was able to connect to the target servers now. Thank you for your support.