Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how i get JSM opsgenie alert list using rest api

lucky nath
Contributor
July 13, 2023

i am creating endpoint to view list all issue using queue endpoint,but i have incident and based on incident there is opsgenie alert, or individually i am creating opsgenie alert.

is any rest api endpoint available to get all list of opsgenie alert in my project

this my opsgenie alert section in my JSM project:

 

  opengie.png

and any rest api endpoint available to get list of incident from issue. 

1 answer

1 accepted

1 vote
Answer accepted
Patricia Francezi
Community Champion
July 13, 2023

Hi @lucky nath 

Yes, there are APIs. Im working with one of them right now :) Why its so fresh here. 

For the alerts https://docs.opsgenie.com/docs/alert-api#list-alerts

 

The incident from Opsgenie perspective https://docs.opsgenie.com/docs/incident-api

But if you are looking to get Jira Service Management tickets - there would be different APIs. 

 

As of now there is no API to associate / get the Jira linked issues, but if you are interested in getting information - there is a suggestion for this API https://jira.atlassian.com/browse/JSWCLOUD-23050

 

, I found a workaround in community 

https://community.atlassian.com/t5/Jira-Service-Management/Retrieving-Linked-JSM-Issue-with-Opsgenie-API/qaq-p/2252046

I hope this helps

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events