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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,424
Community Members
 
Community Events
176
Community Groups

OpsGenie API and OpsGenie UI don't agree

cstewart I'm New Here Jan 19, 2023

With regards to integrations, it has been noticed that the GET https://api.opsgenie.com/v2/integrations{integration id} does not reflect the same configuration that the OpsGenie UI does for the AzureServiceHealth integration.  In addition, the POST https://api.opsgenie.com/v2/integrations route does not create the requested AzureServiceHealth integration with the supplied values.  Specific fields that are not returned correctly by the GET call are the "Extra Properties".  Specific fields that are not correctly populated correctly by the POST call are "Extra Properties" and "Description"

1 answer

1 vote
Nick H Atlassian Team Jan 19, 2023

Hi @cstewart ,

I think the issue you might be facing could be due to your subscription. If you are subscribed to a Standard, Enterprise, JSM/O Premium or JSM/O Enterprise plan, an Advanced tab is offered within each integration. 

When running a GET on an integration under one of those plans, the body returned is of the simple settings of the integration, and not of the Advanced tab - which I believe is what you are referring to when stating "Specific fields that are not returned correctly by the GET call are the 'Extra Properties.' Specific fields that are not correctly populated correctly by the POST call are 'Extra Properties' and 'Description.'"

You would have to also run a GET on the integration's actions to return the reflected extra properties, description, etc. in each action. For example:

intapi.jpg

intapi2.jpg

 

Lower tied plans offer some of these fields in the simple settings of an integration, but they do not offer the Advanced tab. So a GET on the integration for one of these plans would return something different - since the UI is also different:

intapi3.jpg

intapi4.jpg

 

Hope that makes sense, but let us know if you have any questions.

cstewart I'm New Here Jan 20, 2023

Hi @Nick H ,

Thanks for the speedy reply.  I performed the integration/action route and do see the "Extra Properties" and also the "Desciption" field values I expect.  Thank you for clearing that up for me.

Chris

Like Nick H likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events