Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Opsgenie - no option to create a new API Key in API Key Management screen

Maty Grosz November 7, 2024

Hello

I am trying to configure OpenSearch to send alerts to Opsgenie.
One of the steps I need to do is to create a new API Key in Opsgenie:

Create an API Key:

  • Navigate to the Settings >  App Settings > API Key management

  • Click on Add API Key.

  • Assign a name to the API key (e.g., "OpenSearch Alerts").

  • Click Save and note down the API key for use in OpenSearch.


When I am accessing the API Key management screen - I don't have any 

'Add API Key' button...
I get a message 'Meet the new Jira Service Management APIs' - there I can create API Tokens. I am trying to use a new token I generate - but I failed to be authenticated (the API token is not in the expected format).

I need help to understand how do I need to create a new API key in the format Opsgenie is expecting to.

1 answer

1 accepted

1 vote
Answer accepted
Egor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 8, 2024

Hey Maty, 
Thanks for reaching out to Atlassian Community! 

To create a new API Integration, you have to make sure that you're admin or owner of the instance. 

Then, please go to Settings >> Integrations >> Add integration >> Search for the API Integration. 

There you should see a new API Key. Do not forget to save the integration first :) 

Best Regards,
Egor

Maty Grosz November 18, 2024

Hi Egor
I am administrator, but still don't have the Add Integration option.
Can we have a shared session where I can share my screen with you?

Egor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2024

Hey Maty, 
Could you share a screenshot of what do you see? 

Also, could you make sure that you're a global Opsgenie admin and not team admin? 

Best Regards,
Egor

Like Steffen Opel _Utoolity_ likes this
Maty Grosz November 18, 2024

Adding a screenshot:

Screenshot 2024-11-18 at 13.59.04.png

Maty Grosz November 18, 2024

Not sure where I see if I am a team admin or a global one. I have access to the entire Attlasian console

Egor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2024

Hey Maty, 
Thanks for the screenshot. 

It looks like you're on the Essentials or Free plans. 

Could you then head to Teams >> Select your team >> Integrations from the left bar and see if you can create a new integration from there? 

Best Regards,
Egor

Like Steffen Opel _Utoolity_ likes this
Maty Grosz November 18, 2024

When doing so - the option to select OpenSearch is not available

Maty Grosz November 18, 2024

(I apologize for mixing with Opsgenie)

Maty Grosz November 18, 2024

Screenshot 2024-11-18 at 14.20.58.png

Egor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2024

Hey Maty, 
There's no OpenSearch integration with Opsgenie. 

In case you can integration OpenSearch using Opsgenie API, then you can use Opsgenie API integration for that. 

Best Regards,
Egor

Maty Grosz November 18, 2024

Hi Egor,
We have an integration of API type in one of our teams. I assume I need to use the API Key I see there:

Screenshot 2024-11-18 at 14.56.10.png

Maty Grosz November 18, 2024

When taking this API Key and configure OpenSearch to connect to Opgenie using REST API - this is the configuration I use:

Screenshot 2024-11-18 at 14.58.44.png

Maty Grosz November 18, 2024

I then send a test message in the OpenSearch UI to verify the integration - I get 500 from Opsgenie:

Screenshot 2024-11-18 at 12.06.52.png

Maty Grosz November 18, 2024

Am I using the right Webhook URL?
Is the Authoriztion header set correctly?
Why do I get error code 500 from Opsgenie?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events