youngmon/atlassian-qna huggingface dataset:
How do I recover a board because I removed access from an admin?
Asked by Niana Pallatt:

I removed a past employee from our Workspace. Come to find out, he was the only admin to a board that I was not on (and therefore didn't know existed). The board wasn't deleted per say, the admin was just removed from the workspace. Is there a way to recover it?


Answers:
author: Caity
body: If you're on a free Workspace, I would recommend starting a free trial. This will give you full admin capabilities and will allow you to become an admin for any board within the Workspace.

Since you weren't a member of that board before, you won't see it in the list of closed boards, even after you start the trial. You'll need to ask someone who was using that board to send you a link to the board. Anyone who was a member of the board should have received a notification when the board was closed. If they click on that notification, that will take them to a page saying the board is closed. They can send that to you, and, once you start the free trial, you can reopen the board and assign a new admin from that page.


author: Hannah Humbert - Simpla Workflows
body: Hi [@Niana Pallatt](/t5/user/viewprofilepage/user-id/5498377) I believe what happens is the board remains in the workspace and the user will remain an admin of the board or will be removed from the board depending on whether or not you selected the option to remove the user from all boards when you removed them from the workspace.   

Try searching for the board (the keyboard shortcut for board search is "b"). If you're an admin of the workspace, you should be able to access all boards regardless of whether or not you are a member or if they're set to private.
Incoming call integration: Country number acquisition
Asked by Robin Sundstr?m:

Hi! I am in the process of an incoming call integration setup for my team. Since we are a swedish company i would like to claim a swedish number, when i try to do that however it instructs me to contact support. So my questions is: Can i aquire a swedish number for our incoming call integration ?

Best regards Robin


Answers:
author: Robert
body: [@Robin Sundstr?m](/t5/user/viewprofilepage/user-id/4075181) Certain countries have documentation requirements that need to be satisfied before we can assign a number from that country.

Can you please open a support ticket at <https://support.atlassian.com> or reach out via the in-app chat window to get that process started?

comments: author: Robin Sundstr?m
body: Absolutely, will do that. As a follow up question, would there be any problems with using an american number even though we are located in sweden ?

Thanks


author: Robert
body: [@Robin Sundstr?m](/t5/user/viewprofilepage/user-id/4075181) Nope!

In terms of functionality, the "location" of the incoming call number won't change anything.


author: Robin Sundstr?m
body: Okej, thanks!


Tags: cloud
API Key is not granted with configuration access
Asked by Taweewat Phonksawai:

I've created APIs integration to GET Who is on call via cURL  

But every time I've tried to cURL to <https://api.opsgenie.com/v2/schedules> I've received an error below  

{"code":40301,"message":"API Key is not granted with configuration access.","took":0.001,"requestId":"18faca16-b73f-4c90-aba0-9f35c43a64f2"}

<br />

Command  
---curl -X GET '<https://api.opsgenie.com/v2/schedules>' -H 'Authorization: GenieKey MYAPISKEY'  

API Settings  
---  
Read Access ?  
Enable ?  

Checked / Tried  
---

1. The API key used is newly created. Can be found under Teams =\> Integrations, on the Opsgenie web page.

2. Can get the list and details of existing alerts through Alert APIs using the same API Key. The existing alerts are created through the Opsgenie web page.

3. Try giving access to Read, Write, Delete, Restrict configuration

4. Tried changing the path to [https://api.eu.opsgenie.com](https://api.eu.opsgenie.com/ "") in case I am using EU instance. It returns "Could not authenticate" so I don't think I am using the EU instance.


Answers:
author: Nick H
body: Hi [@Taweewat Phonksawai](/t5/user/viewprofilepage/user-id/4133267)

A team's API Integration / API Key should be enough to pull the team's schedules using that request. This is the configuration I have with my team's API Integration: <https://docs.opsgenie.com/docs/schedule-api#list-schedules>

![commschedapi.png](https://community.atlassian.com/t5/image/serverpage/image-id/115010iAA928C96BCE87715/image-size/large?v=v2&px=999 "commschedapi.png")

Below is the request for both Postman and Terminal:

![commschedapi2.png](https://community.atlassian.com/t5/image/serverpage/image-id/115012i3102E15481F9FB72/image-size/large?v=v2&px=999 "commschedapi2.png")![commschedapi3.png](https://community.atlassian.com/t5/image/serverpage/image-id/115013i1FF6F717B4E00508/image-size/large?v=v2&px=999 "commschedapi3.png")

Try this curl command:

```
curl -X GET 'https://api.opsgenie.com/v2/schedules' --header 'Authorization: YOUR_API_KEY'
```

and let us know how it goes.

Also - your account's URL will let you know if you need a US or EU URL.

accountname.app.opsgenie.com = US \>\> <https://api.opsgenie.com/v2/schedules>

accountname.app.++**eu**++ .opsgenie.com = EU \>\> [https://api.eu.opsgenie.com/v2/schedules](https://api.opsgenie.com/v2/schedules "")

-Nick

comments: author: Minh Tran
body: I have similar issue

curl -XGET '<https://api.opsgenie.com/v2/schedules>' -H 'Authorization: GenieKey \*\*\*\*\*\*\*\*\*\*\*\*\*\*'

respond  
{"code":40301,"message":"API Key is not granted with configuration access.","took":0.0,"requestId":"55101c66-4f29-421c-ad92-b9b4390c3df7"}


author: Krishna Avala
body: same issue here


Tags: cloud
Alert creation via REST API
Asked by Santhosh Parepu:

I am trying to create an alert via REST API. I am getting 202 response during alert creation and receiving response payload as mentioned in the API document. But, I don't see alert getting created in Opsgenie. I am stuck at this step and couldn't proceed further. Did any one face this problem?


Answers:
author: Amit Kumar
body: The 202 should have been returned with a Request ID. You can use the Request Status API endpoint with that ID to get the information on how the request was processed.

<https://docs.opsgenie.com/docs/alert-api#get-request-status>.


author: Nick H
body: Hi [@Santhosh Parepu](/t5/user/viewprofilepage/user-id/4133018)

A 202 typically means "The request is valid and will be processed asynchronously.  
**Unlike 200, it does not guarantee that the request will be handled successfully.** You can check the [Logs](https://docs.opsgenie.com/docs/logs "") for the result" - <https://docs.opsgenie.com/docs/response#response-codes>

The Logs tab can be found under the Settings tab. You could then search for the alert's message, alias, request ID, etc. to check if the request is received by Opsgenie:

![comm 202 3.png](https://community.atlassian.com/t5/image/serverpage/image-id/114967i47A6C7B561402600/image-size/large?v=v2&px=999 "comm 202 3.png")

There is a chance the alert is getting deduplicated as well - meaning the request is increasing the count of an already existing open Opsgenie alert (if the alias is matching): <https://docs.opsgenie.com/docs/alert-deduplication>

You could also use the alert dash to check if this alert does exist / is being deduplicate by creating a query for the message, alias, etc. <https://docs.opsgenie.com/docs/alerts-search-query-help>

![comm 202 4.png](https://community.atlassian.com/t5/image/serverpage/image-id/114968i2CF6CB543F0C96E3/image-size/large?v=v2&px=999 "comm 202 4.png")

Try these steps and let us know if you are able to find the alert, or run into any other questions or issues.

-Nick


Tags: alert

cloud
Netcool alerts via Opsgenie
Asked by Jan K?nig:

Hello everyone,

my goal is to send Netcool Events to Opsgenie via an API. So that Opsgenie can alert the users wich needs to take action on the Netcool event.

But if i wanna send an post request to the API, i get the response:

"message": "Request method 'POST' not supported"

Is an POST request not possible or what is the problem and is there maybe a better way to conntect Netcool to Opsgenie?


Answers:
author: Robert
body: Hi [@Jan K?nig](/t5/user/viewprofilepage/user-id/4127177) !

What endpoint are you sending this POST request to?

We offer a few ways of integrating with Netcool here: <https://docs.opsgenie.com/docs/ibm-tivoli-netcool-integration#what-does-opsgenie-offer-ibm-tivoli-netcool-users>

comments: author: Jan K?nig
body: Hello [@Robert](/t5/user/viewprofilepage/user-id/2275658) , i am trying to send the Post Request direct to Opsgenie.


author: Robert
body: [@Jan K?nig](/t5/user/viewprofilepage/user-id/4127177) Thanks, which endpoint is the request being sent to? Can you give the full URL you used?


Tags: cloud
How to don?t auto close ack alerts
Asked by FH Cloud:

Hi guys,

I?m integrating zabbix and Cloudwatch in Opsgenie, but i?m receiving many duplicated alerts. Is there a way to only close alerts without ack?


Answers:
author: Allen Barnard
body: Hi FH Cloud,

You can prevent alert deduplication by setting the "alias" field which will represent all the alerts with that alias as a one single alert, which has it's count increased each time duplicate is received.  

<https://docs.opsgenie.com/docs/alert-deduplication>

Depending on which service is triggering duplicate alerts the steps may vary, but the basic concept is to go to "Settings" in Opsgenie, then go to "Configured Integrations", select the integration which is triggering the alerts then select the "Advanced tab" (this is not available on free or essentials plans), you can add an "Create Alert rule", set the conditions to match the alerts you want to group together, then configure a custom value in the alias field.

If you run into any difficulties, to contact our fastest support channel, please use the chat bubble located at the bottom right hand side the Opsgenie web interface, a knowledgeable support agent will respond within a few minutes.

Thanks and kind regards,

Allen


Tags: cloud
How can I export all Optgenie incidents?
Asked by VHMA_alpha:

Hi,

Is there a way to export all incidents on OptsGenie for integrate with our reporter Server, in this case ServiceNow?

OptsGenie, handle some integration for export nativaly, essentially for metrics and notifications?

Thanks


Answers:
author: Connor Eyles
body: Hey [@VHMA_alpha](/t5/user/viewprofilepage/user-id/1917704)   

When you say export are you just wanting to get all previous incident data exported from Opsgenie or do you mean setting up an outgoing integration with ServiceNow?  

If you are talking about just exporting the data you can use the Incident API to access previous incident data and export the data that way <https://docs.opsgenie.com/docs/incident-api>

If you are talking about setting up an integration with ServiceNow check out this document here <https://docs.opsgenie.com/docs/servicenow-integration#>  

If this is not what you mean can you please provide more information so I can understand your question better :)  

Thanks,  
Connor

comments: author: VHMA_alpha
body: HI,

this information was useful, and about import data of incidents?

I already got some service form metrics, so the main idea its to import some incidents to Opsgenie, so there is a kind of template to import?

Thanks again


Tags: cloud
Alerts that have been ack'd but not closed for x days
Asked by Kimi Nakashima:

We've had a problem recently where alerts have been ack'd but not closed. Most of this was because it took some time for us to reduce the noise alerts. Our response team got too used to occasionally ack'ing and ignoring alerts. Now that we've filtered out the noise alerts we're re-training the team, but I was wondering if there's some way to catch this in case something like this happens again.

Is there a way to remind the responder after so many days that they have an open alert? Or maybe some way to send someone (most likely a manager) a list open alerts that haven't been closed?


Answers:
author: Nick H
body: Hi [@Kimi Nakashima](/t5/user/viewprofilepage/user-id/3459600) ,

To re-notify users you can configure a Notification Policy under the team receiving these alerts. Notification policies can be used to restart the notification process for any open alerts after x-time. If the alert gets closed before the time configured, the policy will not apply / restart notifications: <https://docs.opsgenie.com/docs/team-policies#notification-policy>

That might look something like this:

![comm6.png](https://community.atlassian.com/t5/image/serverpage/image-id/112493iEC28412B74F1787B/image-size/large?v=v2&px=999 "comm6.png")

Otherwise, users who have permission to the Analytics tab can schedule reports that send via email for open alerts daily, weekly, etc.

You'll most likely want to configure this scheduled report under the Alert Analytics tab: <https://docs.opsgenie.com/docs/alert-reports-global>

That query/report might look something like this:

![comm7.png](https://community.atlassian.com/t5/image/serverpage/image-id/112499i50BBA0B9060414DB/image-size/large?v=v2&px=999 "comm7.png")![comm8.png](https://community.atlassian.com/t5/image/serverpage/image-id/112500i74444D59BB53A41C/image-size/large?v=v2&px=999 "comm8.png")![comm9.png](https://community.atlassian.com/t5/image/serverpage/image-id/112501i2BB738BD4853C212/image-size/large?v=v2&px=999 "comm9.png")

My example above would send me an email weekly every Monday at 8am for any open alerts.

Hope these help! Let us know if you have additional questions or issues.

-Nick

comments: author: igor.nobrega
body: Hi Nick,

For those options is there a base plan that we need to be in? I can't see those options in my Opsgenie account. Thanks

![Screen Shot 2021-11-12 at 19.03.48.png](https://community.atlassian.com/t5/image/serverpage/image-id/169214i30A09771B049B4DA/image-size/large?v=v2&px=999 "Screen Shot 2021-11-12 at 19.03.48.png")


author: Nick H
body: Hi [@igor.nobrega](/t5/user/viewprofilepage/user-id/4549739) ,

Advanced Reporting and Policies (such as Notification and Alert policies) mentioned above are available on the Standard and Enterprise plans:

<https://support.atlassian.com/opsgenie/docs/view-global-and-team-reports/>

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

<https://support.atlassian.com/opsgenie/docs/create-and-manage-team-alert-policies/>
Update Opgenie Alert with Jira Updates?
Asked by V T:

Is there a way where updates in Jira issues can flow back to Opsgenie Alert e.g. description, priority, labels updates?


Answers:
author: Volkan
body: Hi,  

Considering how Opsgenie processes the incoming request sent through the integrations for already created alerts, it is not possible for most of our product integrations including Jira Software or Service Desk to automatically update the fields such as description, tags etc. of the existing alerts(except priority).   

Otherwise, I think it might cause a confusion in case there is an ongoing escalation for an alert so the newly added responders may have difficulties in tracking all the changes in the alert fields made by the integration automatically. However, in order to give our users the flexibility to update those fields when necessary, we allow you to update the most of the alert fields manually on the user interface or through Opsgenie REST API but one should keep in mind the scenario mentioned above as a better practice. :)   

On the other hand, there is an exception applied to the priority field that can be **only** **increased** automatically if the incoming request sent to Opsgenie matches with a create alert rule of the Jira integration which implies a higher priority than the open alert. In other words, the corresponding Opsgenie alert can be [deduplicated](https://docs.opsgenie.com/docs/alert-deduplication) and its priority can be increased through the Jira integration while the other alert fields remain same by default.   

In our Standard and Enterprise plans, you have access to [advanced integration settings](https://docs.opsgenie.com/docs/advanced-integration-settings) where you can add a couple of create alert rules that any of them can correspond to a specific Opsgenie priority.   
![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/112326i14C257567B908A33/image-size/large?v=v2&px=999 "image.png")Lastly, another workaround here might be to use the "Notes" field as this can also be updated during the alert deduplication like the priority so the new information sent from Jira can be included here.![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/112327iB3536F601474578E/image-size/large?v=v2&px=999 "image.png")Hope this helps!


Tags: cloud
Where is the documentation for IAM Role required for SSM Action
Asked by Ricardo Pereira:

Trying to configure a action channel to AWS SSM action.

The link to create cloudformation stack is not working, as we use federation users only.

The documentation link to <https://docs.opsgenie.com/v1.0/docs/opsgenie-actions#section-action-channels> is broken and goes to a different page with now IAM role definition.

Can someone please share how the role needs to be defined ?

Thanks


Answers:
author: Ricardo Pereira
body: Would like to confirm that indeed it was my problem. The link is opened on the console for a specific region and I had SCPs in place blocking that region. Even so I think you could simply display the role \& policy that you need created so that customers deploy it the way they want: force the console login just to show your trusted account seems unnecessary.


author: Connor Eyles
body: Hi Ricardo,  

Here are are some links:

<https://docs.opsgenie.com/docs/aws-systems-manager-channel>

It mentions "To configure AWS Role for an AWS Action channel, you may use CloudFormation Template created by the link on AWS Role input. If you would like to create an IAM role without this template, please make sure that your role satisfies all of the permissions and trusted relationship configurations given by the CloudFormation template.

Note that, AWS role name should include **opsgenie-automation-action-** prefix to execute actions on AWS SSM Automation documents."

When you do click on the button here which launches a cloud formation script. This action will automatically create a IAMRole for you with the following Permissions policies

* Ec2AllPolicy

* SystemManagerPolicy

Let me know if this answers your question :)  

Thanks,  
Connor

comments: author: Ricardo Pereira
body: As I mentioned in the email the link to launch the cloudformation doesn't work for users logged in through Federation which is the case of my company.

I think that having the information of the policies is not enough, as I for sure need to issue a trust to one of your accounts but can't see which..

Please advise.


author: Connor Eyles
body: Hey Ricardo,  

It seems like you are logging into a federated account that has restrictions. What you should do here is go to your Federation Services Admin (in your org) and request access to roles with higher permissions.  

Thanks,  
Connor


Tags: cloud
Can we use AWS SSM Automation actions cross account ?
Asked by Ricardo Pereira:

I've read most of the documentation and watched the videos regarding this feature and never saw this mentioned.

I understand we create a channel for a particular account/region/role.

SSM Automation allows nonetheless to launch automation scripts cross account from a single account. Is it possible to configure the Channel in one such "central" accounts and trigger actions on other accounts identified on the alert ?


Answers:
author: Allen Barnard
body: Hi Ricardo,

For your use case, unfortunately, I need to tell you that the Action Channels do not support cross-account SSM automation. For every AWS account, you will need to create a dedicated Action channel in Opsgnie. Our Opsgenie production AWS account will assume the role configured in each action channel as/when they are needed to send SSM commands to the corresponding AWS accounts.

Thanks and kind regards,

Allen
How do I use arguments in as script for the OEC
Asked by connor mcguane:

I am writing a powershell script to be called by the OEC. In the config.yml file, I see the globalArgs line, but I dont know if these are specified by me, or is there a set of acceptable terms. How are these arguments then accessed within my powershell script? Finally, is there anything I need to configure in the tool, on the OEC integration page?


Answers:
author: Allen Barnard
body: Hi Connor,

Sorry for the delayed response, firstly I should mention that passing args is not the optimal way to pass data from OEC to the PowerShell scripts, rather use "globalFlags" to declare key value pairs that are passed to PowerShell as named parameters with corresponding values.

Here is an example of how to set 3 parameters in config.yml:

```
apiKey: xxxxx-xxxxxxxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxx
baseUrl: https://api.opsgenie.com
logLevel: debug
globalFlags:
  parameter1: value1
  parameter2: value2
  parameter3: value3
actionMappings:
  ...
  ...
```

Here is an example of how to use these parameters in PowerShell:

```
param([string]$payload,
??????[string]$apiKey,
??????[string]$opsgenieUrl,
??????[string]$logLevel,
??????[string]$parameter1,
??????[string]$parameter2,
??????[string]$parameter3
)

echo $parameter1
echo $parameter2
echo $parameter3
```


Tags: cloud
OpsGenie Email Templates for Incidents
Asked by Janine Caddick:

I am trying to create email templates for Incidents.

When I add an email template to an incident, it will use that one template for all incident response to stakeholders.

I would like to be able to use one template for the first notification and then a different template for each subsequent update. Has anyone done this?

Thanks


Answers:
author: Darryl Lee
body: Hi Janine,

This is Darryl, Opsgenie Support, happy to help. :smile:

Understand that you would like to have a different kind of email templates for pushing notifications to the stakeholders during different stages of incidents.

Unfortunately, this is not feasible in the current design, we do have an internal feature request for this subject to be analyzed and considered in the future roadmap.

Thanks for the feedback and we appreciate that helping us make Opsgenie better.

Stay tuned!

Kind regards,

Darryl Lee

Opsgenie Support


Tags: cloud