youngmon/atlassian-qna huggingface dataset:
Change Mattermost Integration message
Asked by Moses Moore:

In Opsgenie, in Teams \> {{teamname}} \> Integrations, I added Mattermost and alerts are appearing in our company's Mattermost instance. So far so good.  

The messages that appear are missing information like severity and responders, and they have extra irrelevant information like Tags. They're also taking up five lines of space when they could be only two (the frequency of alerts means screen-space is scarce).  

How can I change the format of the messages sent from OpsGenie to Mattermost via this integration? I'd rather use OpsGenie, but I'll bypass OpsGenie and send directly from my monitoring system if I must.  

*** ** * ** ***

eg: what I see:  

\> New alert: #20151  
\>  
\> "product-g21 : JvmMemoryFillingUp : main-auth-785cc6f8dc-bxhx9 : JVM memory 91.01%%\>90%"  
\>  
\> Tags  
\> g21  

what I'd rather see:  

\> New alert #20151 , responders: productteam  
\> P2 : product-g21 : JvmMemoryFillingUp : main-auth-785cc6f8dc-bxhx9 : JVM memory 91.01%%\>90%


Answers:
author: John M
body: Hi [@Moses Moore](/t5/user/viewprofilepage/user-id/5223668) ,

We do have a feature request for something similar to this for Slack, however, currently, there is no way to format the note or change the fields without sending the message to another endpoint first and formatting it with a script. You can try adding the Mattermost markup for formatting directly to your alerts if that is an option for you.

comments: author: Moses Moore
body: Adding more data to the message won't make for smaller messages when they land on Mattermost/Slack. and any extra data I add to the alert summary would pollute the message on all other platforms, such as email, pager, or OpsGenie's own web UI.  

I ended up bypassing OpsGenie, so this isn't a show-stopper just a feature request.


Tags: cloud

integrations

mattermost
How does one disable Twilio integration once enabled?
Asked by Nathan Ell:

I am working on a proof-of-concept solution for doing incoming call routing in Opsgenie. As a trial, I created an Incoming Call integration and turned on "Use your own Twilio number" and trialed the experience.

I now want to *disable* "use your own Twilio number" and de-integrate Twilio from Opsgenie. I'd like to try using the built-in Opsgenie call handling solution and see if it meets our needs, since our subscription already includes this, so we may be able to avoid the management and cost of another third-party service.

When I click the toggle to disable "use your own Twilio number", the toggle does not disable. I can't turn this off. I've tried both disabling the toggle on my existing integration, and creating a new integration, but no matter what, the Incoming Call integration now *always* has "use your own Twilio number" enabled and can't be disabled.

How do I turn this toggle off now?


Answers:
author: hemanth ch
body: To disable Twilio integration in Jira, you can follow these steps:

1. Go to **Administration** \> **Integrations**.
2. Find the Twilio integration and click on it.
3. Click on the **Disable** button.
4. Click on the **Confirm** button.

If it still doesn't work, make sure that you are logged in to the correct Jira instance, you have the correct permissions to disable the Twilio integration and try disabling the Twilio integration from a different browser.  
I'm sure you must have checked this but, try clearing your browser's cache and cookies, disable all of your extensions and add-ons.

If you are still unable to disable the Twilio integration, you may need to contact Atlassian support for assistance.


Tags: twilio
Datadog->OpeGenie not closing OpsGenie Alert when Monitor Recovers?
Asked by Jordan Lee:

I thought that it was baked into the integration that when a monitor recovers and sends that recovery notification to Opsgenie, That OpsGenie recognizes the same alias of the alert and closes it out. Do I need to add a rule to the "Close Alert" that will catch this?


Answers:
author: Patricia Francezi
body: Hi [@Jordan Lee](/t5/user/viewprofilepage/user-id/5200127)

Yes, you do need to use the same alias for create and close alerts.

If there is no close alert actions, Opsgenie will listen the integration, but not taking action.

Let me know if worked


Tags: cloud

datadog
How to retrieve alert data for my team
Asked by Sudarshan Meruva:

I am interested to review the data for my team, how many alerts we received in a month, how many we responded/acknowledged within 30 mins...or x hours.

I am currently exploring Opsgenie Analytics tab, for some reason it shows 1 alert where as we had several dozen alerts this week.

Is the data in db ? or does is have something similar to JIRA JQL?


Answers:
author: Patricia Francezi
body: Hi [@Sudarshan Meruva](/t5/user/viewprofilepage/user-id/5222680)

To filter alerts about your team, the alerts should be added to your team before closed.

Check if your integration is associated to your team as owner / responders.

You can also have policies to change these fields after creation, depending on conditions you put in place, so this policy would add your team in alerts during creation.

From that on, you will be able to filter your team in the Analytics.

comments: author: Sudarshan Meruva
body: ok, let me check on it. Thanks,


Tags: cloud
Opsgenie?On-Call??????????????????????????
Asked by ?? ??(Sasou Mitsuhiro) lixiluser:

??????????

?????????????????????????????

???????????????????


Answers:
author: Rafael Meira
body: ????????????????????????????????????????????????????????????????????????????????

???????????????? :)

comments: author: ?? ??(Sasou Mitsuhiro) lixiluser
body: ????????????????????????????????

???????????????????????

???????????


author: Rafael Meira
body: ?????????????????
I need alerts for specific products to go to specific teams. Global policy?
Asked by Andrew Feland:

I'm trying to tie OpsGenie to AppDynamics. We are monitoring two separate SAAS products in AppDynamics, and they are maintained by different teams. Rather than assigning the AppDynamics integration to a team, can I use the global policies to route the alerts?


Answers:
author: Nick H
body: Hi [@Andrew Feland](/t5/user/viewprofilepage/user-id/5155156) ,

This Community article should help with your use case:

[How to Alert Different Teams Through One Integration](https://community.atlassian.com/t5/Opsgenie-articles/How-to-Alert-Different-Teams-Through-One-Integration/ba-p/2307288)


Tags: cloud
Can we add @Opsgenie to a Teams chat instead of a channel?
Asked by rglastra:

We're solely using 'Chat' in Teams rather than channels because of reasons, but as far as I'm aware we can currently only add the [@OpsGenie](/t5/user/viewprofilepage/user-id/1671990) bot to channels in Teams and not as a participant in a chat.

Is this assumption correct?  
If so, would this make a feasible feature request or are the limitations on the Teams-OpsGenie integration I'm not aware of?


Answers:
author: John M
body: Hi [@rglastra](/t5/user/viewprofilepage/user-id/5219333) ,

You are correct. The Opsgenie bot can only post to channels, but not chats. To be honest, I'm not sure if that is feasible or not, but if you submit a feature request our development team will review it, regardless. You can add new requests here:

<https://jira.atlassian.com/projects/OPSGENIE/issues/OPSGENIE-172?filter=allopenissues>


Tags: cloud
Can I setup opsgenie to close all alerts (associated and responder) when I close an incident?
Asked by Aslan Brooke:

I would like the closure of an incident to close all alerts associated/generated by the incident. Please let me know how to do that.


Answers:
author: John M
body: Hi [@Aslan Brooke](/t5/user/viewprofilepage/user-id/5212651)

Currently, we don't have a way to do that but we do have a popular feature request for it which you can follow and upvote here:

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


Tags: cloud
How do I give OpsGenie permission to push to an Amazon SNS topic?
Asked by Areeba Turabi:

I am following these instructions for getting OpsGenie to publish to an SNS topic: <https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-outgoing-amazon-sns/>.

But I can't figure out how to give OpsGenie permission to do so. There's a step that says:

*To allow users to publish messages to the topic, select****Only these AWS users**.*

But what AWS user should I input?


Answers:
author: Shashwat Khare
body: Hi [@Areeba Turabi](/t5/user/viewprofilepage/user-id/5205670) ,  

For permissioning this, you should be adding the AWS user accounts who should have permission to post to the Amazon SNS topic responsible for receiving messages from Opsgenie.  

This topic would eventually send these Opsgenie messages to it's subscribers as and when it receives them from Opsgenie.  

Here is a document link that explains with examples what kind of message data will be sent to the SNS Topics for different actions:  
<https://support.atlassian.com/opsgenie/docs/opsgenie-edge-connector-alert-action-data/>  

Best,  
Shashwat

comments: author: Areeba Turabi
body: I understand that I should be adding the AWS user account that should have permission to post to the topic, but which user account is this? I am assuming this account is owned by OpsGenie. I am trying to configure an outbound SNS integration (I want to give OpsGenie permission to publish to the topic).


author: Shashwat Khare
body: Hey [@Areeba Turabi](/t5/user/viewprofilepage/user-id/5205670) ,  

I would need to take a look at your Amazon SNS environment to confirm the user account.  

Could you please use the below link to log a support ticket with us for further assistance on this:   
<https://support.atlassian.com/contact/#/>  

<br />

Best,  
Shashwat


author: Areeba Turabi
body: It is not required to look at my Amazon SNS environment, the principals that require permissions are owned by OpsGenie and are completely independent of the user's AWS account. I was able to get my answer by looking at this template: <https://s3-us-west-2.amazonaws.com/opsgeniedownloads/opsgenie-amazon-sns/OpsgenieAmazonSnsTemplate.json>. It contains 4 arns that OpsGenie uses to push to SNS. I gave them publish permissions to my SNS topic and it worked.


author: Shashwat Khare
body: Hey [@Areeba Turabi](/t5/user/viewprofilepage/user-id/5205670) ,  

I'm glad you were able to add the permission and thanks for sharing the solution with us! :)   

Have a great day ahead!  

Best,  
Shashwat


Tags: aws

cloud
Incoming Call Integration - Do any fields contain the option menu selected from auto attendant
Asked by Jamie Remboldt (x. 6607):

I am setting up an Incoming Call Integration and was hoping to use the automated attendant to present the calling with options. The problem that I am having is that I can't seem to figure out how to alter the resulting alert that is created based on which option the caller selected.

The only filter fields I see as available are:

* From
* To
* Body
* Type

Is there any way to filter/find which menu option was selected?


Answers:
author: John M
body: Hi [@Jamie Remboldt (x. 6607)](/t5/user/viewprofilepage/user-id/4767031) ,

Unfortunately, the only field that can be altered by the caller after the alert is created (which happens as soon as the call reached Opsgenie) is the 'Responders' field. That field can be updated after the alert is created, based on the caller's selection. ![2023-05-11_10-56-57.png](https://community.atlassian.com/t5/image/serverpage/image-id/256735iAF934C43A574AB86/image-size/large?v=v2&px=999 "2023-05-11_10-56-57.png")

comments: author: Jamie Remboldt (x. 6607)
body: Thank you! Your response helped as I was using the auto attendant to forward the call to various teams, however I had inadvertently set the responders with the original alert so it didn't appear to be changing that. By getting rid of the initial set and letting it go to the teams it is working well. Thank you for the response/help!


Tags: cloud
Create Alert for Specific Reporter
Asked by Bill Sklar:

I'm trying to create an OpsGenie alert when a service ticket is created by a specific user (Reporter). However, regardless of whether I use the name of the user or the email address, the alert never fires off. Using other data elements works but I can't figure out how to get the Reporter. I saw some information about regex and was wondering if I needed to do something with that.


Answers:
author: John M
body: Hi [@Bill Sklar](/t5/user/viewprofilepage/user-id/4548040) ,

Can you tell me which integration this is for? I think a couple of screenshots of the issue could also be helpful.

comments: author: Bill Sklar
body: ![Screenshot 2023-05-11 at 12.52.59 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/257401iCA521D25117186A4/image-size/large?v=v2&px=999 "Screenshot 2023-05-11 at 12.52.59 PM.png")

This is for JSM


author: John M
body: Hi [@Bill Sklar](/t5/user/viewprofilepage/user-id/4548040) ,

This worked for me with the following configuration:

![2023-05-16_18-20-14.png](https://community.atlassian.com/t5/image/serverpage/image-id/257647i70B96F4405EE389D/image-size/large?v=v2&px=999 "2023-05-16_18-20-14.png")

The reporter will the first and last name of the user in JSM. You will want to use **Equals** in the filter unless you are planning to use a regex pattern to match for a group of users.
Do we have option like Limited user licenses in opsgenie?
Asked by Lohitha Choudhary - EXT:

Hi Team,  
We are 400 Users and Only around 100 are using this opsgenie,so want a confirmation from your side do we have option for Limited user licenses.  

Thanks


Answers:
author: John M
body: Hi [@Lohitha Choudhary - EXT](/t5/user/viewprofilepage/user-id/5216224) ,

If you are on a JSM-Opsgenie plan, your Opsgenie users and JSM users are one and the same, meaning you cannot limit them only in Opsgenie.

However, if you are on an [Opsgenie standalone plan](https://www.atlassian.com/software/opsgenie/pricing) you can change user licenses for Opsgenie only from within Opsgenie.

If you have a 'Subscription' option in Opsgenie that shows these three options, it means you are on a standalone plan - but if you don't see this it means you are on a JSM plan that includes Opsgenie:

![2023-05-10_21-05-51.png](https://community.atlassian.com/t5/image/serverpage/image-id/256510iC0FE6D403A8187C9/image-size/large?v=v2&px=999 "2023-05-10_21-05-51.png")
How to create custom rosters in Opsgenie
Asked by Joshua Horton:

I would like to create a custom roster that does not follow a set rotation.

* To edit the roster
  * You could change from hour, day, week blocks
  * Select the user and click the blocks they would be on call for
* Would be nice to have a users calendar where Sick Leave, Annual Leave etc could be added so it is visible in the roster and notify that an override needs to be made.

I tried to create a feature request but the 'Opsgenie' Project does not show in the list


Answers:
author: John M
body: Hi [@Joshua Horton](/t5/user/viewprofilepage/user-id/5215644)

One option that may be helpful to you, is the "no-one" override, which will allow you to override any user that may be out for sick leave, vacation, etc. and the final calendar will show that the shift is not being covered (will show up as 'no-one' in the calendar), and needs to be overridden with an actual user.

![2023-05-10_20-56-11.png](https://community.atlassian.com/t5/image/serverpage/image-id/256509i4D4BE8A2430456AA/image-size/large?v=v2&px=999 "2023-05-10_20-56-11.png")

You should be able to add new feature requests for Opsgneie here:

<https://jira.atlassian.com/projects/OPSGENIE/issues/OPSGENIE-1273?filter=allopenissues>


Tags: cloud
Incident Rules
Asked by Erica Dohring:

Do Incident rules work if a rule is matched *once the alert has been edited?*

Say Team-A has an incident rule to create an incident if responder "Team-A" has been added to an alert (contains). I've noticed the incident rules seem to work if the alert was created with Team-A as a responder, but an incident is not created if Team-A is added to the alert after the creation of the incident. Is this desired behavior? In other words, is the behavior I list below supported?

*Scenario:*

**Example** - alert comes in, has responder "Person-1".

Person-1 traiges it, realizes they should add responder "Team-A" to help.

*Ideal*:

Incident is created per Team-A's rules

*Actual*:

No incident is created


Answers:
author: John M
body: Hi [@Erica Dohring](/t5/user/viewprofilepage/user-id/5152793)

Incident rules are only processed at alert creation, but not again when changes are made to alerts, so a team's incident rule would not trigger if that team was added manually after the alert was created. In that situation, the user would need to create an incident from the alert and add the correct team to the incident.


Tags: cloud
Opsgenie create Jira issues when you receive an incoming call
Asked by Michael:

Can anyone tell me how to have Opsgenie create Jira issues when you receive an incoming call from it? I'm unable to find any documentation on it  
I have the incoming call integration setup , but cannot figure out how to create JSM ticket when call is logged  
Any help is much appreciated


Answers:
author: Shivam Naik
body: Hi [@Michael](/t5/user/viewprofilepage/user-id/4355727) ,

Happy to help!

On the JIRA integration, there's an option for creating Jira incidents for Opsgenie Alerts. You'll want to check that box on the integration and set it up like below. This will create Jira Incidents corresponding to Incoming Call alerts that arrive in Opsgenie, and the filter will ensure that only Alerts with the source of Phone (Incoming Call integration alerts) will generate Incidents:  

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

Please let us know if you have any follow up questions!

comments: author: Michael
body: Hi [@Shivam Naik](/t5/user/viewprofilepage/user-id/3915058)

Thanks for the update.

I'm using the new Jira Service Management integration with the following settings.

![settings.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/256376i6668C021FF31B32B/image-size/large?v=v2&px=999 "settings.JPG")

Is this the correct section to do the configuration ?

I see from your screenshot above you are using the legacy option

So far I'm still having no luck

Michael


author: Shivam Naik
body: Hi [@Michael](/t5/user/viewprofilepage/user-id/4355727) ,

That is the correct section to add those. To confirm, JS Incidents are still not being created when Incoming Call alerts arrive in Opsgenie?

If so, I think this would benefit from a closer look in a Support ticket.

Please let me know regarding the JS Incidents, and I will follow up


author: Michael
body: [@Shivam Naik](/t5/user/viewprofilepage/user-id/3915058) thanks, all log a support request
Monitor all Alerts and Incidents in Opsgenie
Asked by Aslan Brooke:

How can I setup Opsgenie to get an email (or notification) for every alert and incident created. However, this is purely monitoring, NOT for being involved in the alert or incident. Essentially making it possible for the information to be pushed to me, rather than having to pull the information from the Alerts and Incidents UI on the web.


Answers:
author: Shashwat Khare
body: Hey [@Aslan Brooke](/t5/user/viewprofilepage/user-id/5212651),  

I'm from the Opsgenie support team and will be assisting you with this query :)   

You can add your email id to your Email contact method by navigating to **Settings \> Notifications \> Contact Methods** and adding your email id under Email via "**Add email** " as below:  
![Screenshot 2023-05-08 at 5.44.25 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/255791iE2305254EC00DEFF/image-size/large?v=v2&px=999 "Screenshot 2023-05-08 at 5.44.25 PM.png")  

Once your email id is added, please add a notification rule for "New Alert" by navigating to **Settings \> Notifications \> Notification rules \> New Alert \> Notify me via email at \<email_id\>** as below:  
![Screenshot 2023-05-08 at 5.47.25 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/255792i763B474795EB91B3/image-size/large?v=v2&px=999 "Screenshot 2023-05-08 at 5.47.25 PM.png")  

*Reference document link:*

[**Create and manage notification preferences in Opsgenie**](https://support.atlassian.com/opsgenie/docs/create-and-manage-notification-preferences/)  

Best,  
Shashwat

comments: author: Aslan Brooke
body: [@Shashwat Khare](/t5/user/viewprofilepage/user-id/5070894) This answer does not solve for receiving an email when ANY Alert is created for ANY person/team. As an admin I want visibility of ALL alerts via email, not just those assigned to me or a team I'm on.

Does that make sense.


author: Shashwat Khare
body: [@Aslan Brooke](/t5/user/viewprofilepage/user-id/5212651) yes, that makes sense but kindly note that the system design has been done this way to prevent email clutter about alert notifications and this is why by design, Opsgenie will not send you alert notifications unless you're one of the responders or part of the responder team for the Alert.  

May I ask if you have considered using the Slack integration with Opsgenie wherein you will be able to receive a notification about each and every alert being created in your Opsgenie instance without having the assignment/ownership of the Alert?  

*Reference document link:*   
*[**Integrate Opsgenie with Slack**](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-slack-app/)*   
Best,  
Shashwat


Tags: cloud
How can I get Artifact name ?
Asked by Qau Marco:

I want to get the Artifact name, but I dont know ?

where can I get it?or Artifact name is a variable ?


Answers:
author: Eduardo Alvarenga
body: Hello [@Qau Marco](/t5/user/viewprofilepage/user-id/4390389),

Can you be more specific about when you want the artifact names to be identifiable?

Is that during a build run? From the results? Or maybe in the configuration? Via API? SQL?

Perhaps you need to elaborate on your issue a bit more so we can get there.

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

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

comments: author: Qau Marco
body: thank you for answer?

In my deploy task?

setup 1. (auto created)

Clean working directory task {#toc-hId--523269578}
--------------------------------------------------

setup 2. (auto created)

Artifact download configuration {#toc-hId-1964243255}
-----------------------------------------------------

Destination path : /tmp

setup 3.

Script configuration {#toc-hId-156788792}
-----------------------------------------

unzip /tmp/ ${name}.jar

I want to know the Artifact ${name } in setup 2 for me to unzip it .


author: Eduardo Alvarenga
body: Hello [@Qau Marco](/t5/user/viewprofilepage/user-id/4390389)

When [configuring a Job's build artifact](https://confluence.atlassian.com/bamboo/configuring-a-job-s-build-artifacts-289277071.html), in a Plan, you are expected to use an [Ant File Copy pattern](https://ant.apache.org/manual/dirtasks.html) to match the desired file.

The "*artifact name*" will depend on the Copy Pattern you have used to create the artifact. If the Ant regex matches multiple files, they will be included as part of that artifact as individual files.

Once you add an Artifact Download task to your Deployment environment, it will download any files that match that Artifact regex and put them in your work directory. You need to verify the Copy pattern you have used on your Build and unzip the file(s) accordingly.

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

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