youngmon/atlassian-qna huggingface dataset:
Can I integrate Opsgenie with JSM Data Center?
Asked by Aya AlJboor:

I have JSM hosted on Data center, can I integrate it with Opsgenie?


Answers:
author: Darryl Lee
body: Hi [@Aya AlJboor](/t5/user/viewprofilepage/user-id/3979169),

This is Darryl. I am here to help.

Understand that you would like to confirm the feasibility of integrating Ospgenie with your JSM DC version.

The short answer is yes, it is supported.

You may add the [Legacy Jira Service Management](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira-service-management/) integration from the integration gallery, and ensure your JSM instance has whitelisted the following domain for **pushing data to**:

If your Opsgenie is hosted in US -\> <https://api.opsgenie.com>  
If your Opsgenie is hosted in EU- \> <https://api.eu.opsgenie.com>

For example:

![Screenshot 2022-03-28 at 21.46.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/190226iFB6AF18D07D401B2/image-size/large?v=v2&px=999 "Screenshot 2022-03-28 at 21.46.02.png")

On that integration, you can fill out the form to locate your JSM data center.![Screenshot 2022-03-28 at 21.46.39.png](https://community.atlassian.com/t5/image/serverpage/image-id/190225iC9472C3DD60997D2/image-size/large?v=v2&px=999 "Screenshot 2022-03-28 at 21.46.39.png")

If your JSM instance doesn't offer public access to the Internet, you may need to tick up the "Send Via OEC" option and follow [this instruction](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira-service-management/#Integration-via-OEC--for-On-Premise-Jira-Service-Management-Usage-) to install and configure an Opsgenie Edge Connector to assist with data transmission.

Also, you will need to further whitelist the following domain to **receive data** **from**:

If your Opsgenie is hosted in US -\> <https://sqs.us-west-2.amazonaws.com>  
If your Opsgenie is hosted in EU- \> <https://sqs.eu-central-1.amazonaws.com>

*** ** * ** ***

Should you have any further issues or inquiries on this subject, please feel free to reach out to Opsgenie Support via [this link](https://support.atlassian.com/opsgenie/) and my colleague will help you from there.

Thanks.

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian

comments: author: Vijay Kumar
body: Hi Lee,

Is it still possible now ? i dont see an option of legacy JSM in integrations list. Do let me know if you have any information around this.

Thanks.

Vijay
Automating Reboot action on services hosted on EC2 Instances
Asked by Dominique Mathews:

I was looking to use EC2 Rescue tool to automate some task when an opsgenie alert is triggered. I understand you can use this tool to reboot the entire instance but curious to know is possible to use this tool to dig down to the actual services hosted on the instance and specifically just have that service rebooted ?


Answers:
author: Justin Sitarz
body: Hi Dominique!

Justin here, from Opsgenie support - happy to help!

What Opsgenie offers (in terms of automation) is the ability to run these AWS Systems Manager (SM) documents via what are called 'actions' in Opsgenie - in particular, running the EC2 Rescue Tool can be done by following this article:

<https://support.atlassian.com/opsgenie/docs/execute-aws-ec2-rescue-tool-with-opsgenie-actions/>

AWS offers a number of other prebuilt SM documents that can be executed in the same way by Opsgenie actions, and also offers the ability to customize and build your own - these can hook in with other AWS services as well (like AWS Lambda) to provide wide-ranging functionality.

Having said that - we do not directly offer or support any of these documents, and instead simply offer a tool that allows you to automatically trigger them from your alerts in Opsgenie - so if you're wanting to delve deeper into the options available for investigating issues with services in your EC2 instances, you may want to connect with AWS support for recommendations on either prebuilt or custom AWS SM documents for your particular needs.

But, if you have other questions about using Opsgenie action channels and actions, please do let us know!

Best,

Justin S

Atlassian Cloud Support

comments: author: Dominique Mathews
body: Hey Justin thank you for getting back. Appreciate the help. I will take those steps then and reach out to AWS support


Tags: aws
I can no longer see on call time by user report on opsgenie
Asked by Jo?o Carvalho:

I cannot find the old report where I could see user on call time, is it no longer available?  

I only have notification options![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/190011i247E26ACCE21E7AB/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Ashish Shetty J
body: Hi [@Jo?o Carvalho](/t5/user/viewprofilepage/user-id/2217054) ,

Thanks for reaching out to Opsgenie.   

I see that you are currently able to view only the Resource Usage Reports and unable to see the On-call analytics. I believe this could be a plan limitation.  

It appears that your Opsgenie instance is currently either on the Essentials plan (If it is a Standalone Opsgenie) or on the JSM standard plan (If it is a JSM bundled Opsgenie).

The on-call reports are currently available only on plans Standard and Enterprise (For Standalone Opsgenie) and on JSM Premium and above (For JSM bundled instances)

Hope this helps!

Thanks,  
Ashish
delay in opening alerts (Opsgenie) opened by jira tickets
Asked by Ana Laura de Melo:

I created a Jira Service Management Cloud integration, conditional on priority, but when opening a ticket during office hours, alerts are created more than an hour later, after office hours they are opened immediately. Does anyone know what it could be? Could it be a tool bug?

![Sem t?tulo.png](/t5/image/serverpage/image-id/189997iCC49CB27E988F218/image-size/large?v=v2&px=999 "Sem t?tulo.png")


Answers:
author: Chris DeGidio
body: Hi Ana,

We did observe a delay issue and have corrected it at this time. The issue was also logged within our Statuspage for viewing at <https://jira-service-management.status.atlassian.com/>

As mentioned everything should be resolved now. Please let us know if you have any further issues.
JIRA Service Management and Opsgenie Alert Integration Latency
Asked by ?a?atay ?ift?i:

Hello,

Are there anyone else experiencing latency issue between JSM and Opsgenie on EU?

I configured JSM Cloud Integration at Opsgenie so it will create alerts whenever customers opens tickets and it is doing that. But starting from yesterday alerts getting created 1-2 hours after tickets. It was minutes at worst before.

Any ideas how i can investigate this?

Best regards,

?a?atay ?ift?i


Answers:
author: ?a?atay ?ift?i
body: I tried one more time today and it took 11 minutes which is better. Still are there anyways that i can monitor this latency? I know about Atlassian Status page for Opsgenie but i don't know if it is related with JSM Integration and latency between those 2 products.

comments: author: John M
body: Hi ?a?atay,

There was an incident which has since been resolved, so you should not see anymore delays. The incident report can be seen here on March 25th:

<https://jira-service-management.status.atlassian.com/>


Tags: jira-service-management
Opsgenie dont response to Elastalert request
Asked by Mykola Voroniuk:

This problem repeats often when sending alerts from elastalert to opsgenie api.  
Please help me to resolve it

```
INFO:elastalert:Error response from https://api.opsgenie.com/v2/alerts  API Response: <Response [413]>ERROR:elastalert:Error while running alert opsgenie: Error sending alert: 413 Client Error: Payload Too Large for url: https://api.opsgenie.com/v2/alertsINFO:elastalert:Disabled rules are: []
```


Answers:
author: Darryl Lee
body: Hi [@Mykola Voroniuk](/t5/user/viewprofilepage/user-id/4838004) ,

This is Darryl. I am here to help.

Understand that you would like to create Opsgenie alerts via API from your Elasalert side.

From the error message, it looks like the payload content is too large or does not match the acceptable format that Opsgenie Alert API accepts.

Please help confirm if your Elasalert can generate the JSON payload in the format described on our [Create Alert API document](https://docs.opsgenie.com/docs/alert-api#create-alert).

If the payload format is valid but this issue still occurs, please consider reaching out to Opsgenie Support via [this link](https://support.atlassian.com/opsgenie/) and my colleague will help you from there.

Thanks.

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian
Anyone know how to see alerts by team for the last 3 months - I can only see current month
Asked by Regina Weishuhn:

Im trying to get a CSV file of the alerts by TEAM for the last 3 months. I am only seeing current month. Anyone know how to see this?


Answers:
author: Nick H
body: Hi [@Regina Weishuhn](/t5/user/viewprofilepage/user-id/4238123) ,

Depending on your plan, you should be able to run a report in the Analytics tab. You can select the team here:

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

Then within Alert Analytics report, select over the last 3 months within the filter:

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

Once this has been run, you can download the total number of alerts:

![csv4.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/189657i9BE397B13B4AE1CB/image-size/large?v=v2&px=999 "csv4.jpg")![csv5.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/189656i97574E4B5701A18E/image-size/large?v=v2&px=999 "csv5.jpg")

Otherwise, in the Alerts dash, run a [search query](https://support.atlassian.com/opsgenie/docs/search-queries-for-alerts/) on the team and date range of the alerts you need with something like:

responders: "your_team_names" AND createdAt\>DD-MM-YYYY

![csv6.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/189660iA28EE55C61C55CAD/image-size/large?v=v2&px=999 "csv6.jpg")
Link Service Management Jira tickets to Postmortem
Asked by Carsten H?usler:

I would like to link Service Management or Work Management Jira tickets to a postmortem in Opsgenie. I only have the option to link tickets from software projects. A feature request was supposedly created for this, yet I don't know about the status of it nor the ETA.

Could someone from Atlassian please check on this?  

This is a follow-up of: <https://community.atlassian.com/t5/Opsgenie-questions/Link-Service-Management-or-Work-Management-Jira-tickets-to/qaq-p/1777166>


Answers:
author: Mubeen Mohammed
body: Hello [@Carsten H?usler](/t5/user/viewprofilepage/user-id/4014940)   
This is Mubeen, Thank you for reaching out to Opsgenie support.

I have reviewed the previous ticket and rest assured our engineering team is already notified of this requirement with a feature request.

I am sorry, I couldn't provide a definite answer for the exact ETA. Every feature request will be carefully analyzed by our product teams. Depending on the demand received from customers for this feature and the future roadmap of the product, a decision will be made on implementing this feature.

This feature request is currently available on a new public-facing system, following the request URL <https://jira.atlassian.com/browse/OPSGENIE-189>. You can track the feature request using the URL shared and also you can vote on it to further prioritize.

Hope this information helps.

Regards,

Mohammed Mubeen  
Support Engineer, Atlassian

comments: author: Carsten H?usler
body: Thank you Mohammed, I will follow up on the link you provided.
Send automatic alerts to Opsgenie from Security Hub without choosing Custom Action option manually b
Asked by Daman Malik:

My Security Hub report runs every hour and I want to send an alert to Opsgenie everytime Compliance Status shows as "Failed" for a finding automatically without manual intervention, that is, user selecting custom action as an option manually that is integrated with CloudWatch Events and SNS. One possible way is creating Lambda that runs every hour, Can you please suggest any other option?

Steps mentioned under "<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-amazon-security-hub/>" involved manual intervention of selecting custom action option everytime


Answers:
author: Shivam Naik
body: Hi [@Daman Malik](/t5/user/viewprofilepage/user-id/1472653) ,

Happy to help!

I would recommend opening up a Support Case with Opsgenie so that we can examine your setup, but Opsgenie is a listening platform, so we can filter for alert payloads coming in from Security Hub as a means of automatic action taken using [Action Filters](https://support.atlassian.com/opsgenie/docs/action-filters-in-opsgenie-integrations/) . In lieu of an automatic check on the Security Hub side, that automatic job would likely be the best way of getting the "Failure" payload over to Opsgenie for alert creation.

As I mentioned, a Support Case would likely benefit you since we'll be able to see your setup, but let us know here if you have any follow up questions!


Tags: aws
Alert de-duplication in OpsGenie when processing DataDog events
Asked by Daniel Prado Martinez:

Hello,

After reading the [support doc](https://support.atlassian.com/opsgenie/docs/what-is-alert-de-duplication/). I am trying to find a way to avoid duplication on alerts created from DataDog Monitor events.

I have been trying to modify the "alias" field mentioned [here](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-datadog/) from DataDog end with zero luck.

Some documentation about this or a working example would be really appreciated.


Answers:
author: Nick H
body: Hi [@Daniel Prado Martinez](/t5/user/viewprofilepage/user-id/4832573) ,

Sometimes we'll the issue of Datadog alerts being deduplicated through multiple Datadog integrations. Is this the case with you? Or is this only for one integration?

If the deduplication is due to multiple integrations, an easy fix is adding some hardcoded data into the alias field of all the integration actions. Typically we'll see customers simply adding the name of the integration along with {{alias}} like so:

![dd1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/189450iB90813364A015433/image-size/large?v=v2&px=999 "dd1.jpg")![dd2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/189449i8354D9E59BB57AA6/image-size/large?v=v2&px=999 "dd2.jpg")

This will help differentiate the alerts a bit to avoid deduplication from multiple integrations, but also allow for the same integration to close, ack, etc. the alert.

Hope that helps!

comments: author: Daniel Prado Martinez
body: This is not exactly what I was looking for, but serves the purpose perfectly.

Thanks!


Tags: datadog
Alert events with same alias but different priority
Asked by Daniel Prado Martinez:

In a shot: Does alias uniqueness work systemwide or per priority level?

Explanation: several alert events received from an integration containing the same alias will be assigned to the same alert in OpsGenie. This helps to provide alert de-duplication according to the documentation.

What happens when these alert events have different priorities? Are they assigned to the same alert in OpsGenie?

If this is the case, what is the priority of this alert? First received? Highest received?

Thanks in advance!


Answers:
author: Nick H
body: Hi [@Daniel Prado Martinez](/t5/user/viewprofilepage/user-id/4832573) ,

When an alert is deduplicated by another alert of higher priority, the deduplicated alert's priority is increased and its notification flow is restarted. But deduplication cannot downgrade an alert's priority - only increase it.

comments: author: Daniel Prado Martinez
body: This means we would receive a second notification when the alert's priority is increased, correct?


author: Nick H
body: Yes, that's correct. Here's an example of an alert being deduplicated wit ha higher priority:

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


author: Daniel Prado Martinez
body: Thanks!


author: Fernandez_ David
body: Hi [@Nick H](/t5/user/viewprofilepage/user-id/2540930) ,

for me it's not working.

I have an alert definitions prometheus like

```
- alert: Alert
  annotations:
  description: Alert description
  summary: Alert summary
  expr: promql query
  for: 5m
  labels:
    priority: P2
```

this alert come to OpsGenie with a P2, everything fine.

then I have the same alert, but after 15min should be a P1

```
- alert: Alert
  annotations:
  description: Alert description
  summary: Alert summary
  expr: promql query
  for: 15m
  labels:
    priority: P1
```

In OpsGenie, I never see any P1 for this alert, I can see the counter increase for the P2, but it never turns into a P1.

Any Idea ?


author: Lucas Eduardo
body: In my case, I noticed that when the alert priority increases from P3 to P2, for example, my automatic incident creation configuration is not triggered.
variable could assign in the script
Asked by Stan Zhou:

The bamboo deploy tasks:

variable name downtime_id

value null

script

interpreter:shell

script location: inline

```
#!/usr/bin/env bash
start=$(date +%s)
end=$(date -d "+1 day" +%s)

echo $start
echo $end
echo ${bamboo.local_deploy_environment}
echo ${bamboo.DD_API_KEY_PASSWORD}
echo ${bamboo.DD_APP_KEY_PASSWORD}
echo ${bamboo.downtime_id}

{bamboo.downtime_id}=`curl --silent -X POST "https://api.datadoghq.eu/api/v1/downtime" \
-H "Content-type: application/json" \
-H "DD-API-KEY: ${bamboo.DD_API_KEY_PASSWORD}" \
-H "DD-APPLICATION-KEY: ${bamboo.DD_APP_KEY_PASSWORD}" \
-d '{"scope": "environment-name:${bamboo.local_deploy_environment}","start":'"${start}"',"end":'"${end}"'}'| awk -F, '{print $19}'|awk -F: '{print $2}'`

echo ${bamboo.downtime_id}
```

got error message when deploy: bamboo.downtime_id=50005497: command not found

```
build 19-Jul-2021 06:35:17 1626676517 2build 19-Jul-2021 06:35:17 1626762917 3build 19-Jul-2021 06:35:17 devops-test 4build 19-Jul-2021 06:35:17 ******** 5build 19-Jul-2021 06:35:17 ******** 6build 19-Jul-2021 06:35:17 1234 7error 19-Jul-2021 06:35:17 /home/bamboo/bamboo-agent-home/temp/9437185-231637028-269254920-ScriptBuildTask-88981604564562628.sh: line 15: bamboo.downtime_id=50005497: command not found 8build 19-Jul-2021 06:35:17 .downtime_id
```


Answers:
author: Cristiano Mariano
body: Hi [@Stan Zhou](/t5/user/viewprofilepage/user-id/4482872) ! Welcome to the community!

It seems to me that you would not need to have curly braces around **bamboo.downtime_id** when setting its value. Please make a test using it this way:

```
bamboo.downtime_id=`curl...
```

Hope this helps!

comments: author: Stan Zhou
body: Hi [@Cristiano Mariano](/t5/user/viewprofilepage/user-id/541129) , thank you for your reply.

I know, the normal way access the variable without curly braces, had tried before it failed.

The way to solve the issue is using the Jinject Bamboo variables plugin.
bamboo restore
Asked by gil jensen:

I had to restore my bamboo instance from an old back up but now I cannot login as my admin user as it no longer takes my password

Is there a way to fix this from command line?

Also is there a way to configure the email server settings from the command line?


Answers:
author: Daniel Ebers
body: Hi [@gil jensen](/t5/user/viewprofilepage/user-id/4478850)

welcome to the Atlassian Community!

Bamboo stores information about the mail server (mail server name, port, authentication details like username and probably the password) in it's database.  
There is no command to configure those settings from command line.  
You could figure out where in database exactly the data are stored but in general changing configuration there is something which is not recommended throughout Community - a wrong setting could lead to unexpected issues in Bamboo.

Some more general information (especially useful when Google Mail is involved) can be found here:  

**Configuring Bamboo to send SMTP Email**   
<https://confluence.atlassian.com/bamboo/configuring-bamboo-to-send-smtp-email-289276984.html>

Regards,  
Daniel


author: Gerald Maguire
body: Hi

maybe have a read through the below articles to see if you can recover admin access

<https://confluence.atlassian.com/bamboo0605/bamboo-faq/usage-faq/restoring-passwords-to-recover-admin-users>

<https://community.atlassian.com/t5/Bamboo-questions/How-to-reset-Bamboo-Admin-password-also-set-bamboo-internal/qaq-p/86925>
Switch from "clicked" plan to sepcs plan
Asked by J?rg Lang:

Hi there,

we are currently preparing to replace the current "ui clicked" Build and Deployment Plans by bamboo specs plans.

We are currently testing an finalizing the spec files.

I'm wondering how, I can later "replace" the "clicked" plans, by the new plans to keeping especially the Build Number, because the number is part of the release naming startegy.

So, do I just have replace the "names" and "keys" on the specs file to match the old keys of the UI plans?

Thanks

Joerg


Answers:
author: Alexey Chystoprudov
body: Yes, if you use existing plan key at specs, it will be switched to UI-readonly mode


Tags: java

spec
Effective from 13 August 2021, Git hub is not allowing username/password authentication from bamboo.
Asked by Deepak Adhikari:

Effective from 13 August 2021, Git hub is not allowing username/password authentication from bamboo.   
We are using shared credentials with SSH, so will this change affect our environment too..?


Answers:
author: Jeyanthan I
body: Hi Deepak,

I remember GitHub has already deprecated password authentication to their APIs last year as per [Deprecated APIs and authentication - GitHub Developer Guide](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/ "Follow link"),

Since then, we can only use your **Personal Access Token (PAT)** in place of **password** in your linked repository of type *GitHub repository*.

This anyway doesn't affect any authentications via SSH. Could you please share the news link with us?

Cheers,  
Jey

comments: author: Jeyanthan I
body: I assume this is the news link you are referring to - <https://www.gitkraken.com/blog/2021-github-authentication-policy-change>.

If so, it appears that authentication via GirKraken or similar Git clients is affected. If they have been relying on a username and password to connect GitHub, It's time for them to transition to OAuth, SSH, or using a PAT. This will not affect users who have already authenticated to GitHub using other protocols.

Hope that helps.

Cheers,  
Jey


author: Deepak Adhikari
body: Hi [@Jeyanthan I](/t5/user/viewprofilepage/user-id/1124775) ,

Thanks for the help.  
But can you help me on how to check which method we are using..?

Because when i checked in the bamboo administration, In linked repository most of the authentication type is "SHARED CREDENTIALS" which are of ssh type.

I am not seeing any PAT or OAuth type of things..


author: Jeyanthan I
body: Hey Deepak,

If you chose GitHub as the repository host, you will not be able to choose SSH type for authentication. You are allowed to authenticate via HTTP(S) using Personal Access Token only as described on [this page](https://confluence.atlassian.com/bamboo/github-289277001.html).

Hope that helps.

Cheers,  
Jey