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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

[OPSGENIE] Is it possible to relate an alert to an incident via API call?



I'm new to using OPS Genie and currently studying the documentation as i'm planning on automating the creation of incidents based on the alerts we receive.


I'm also studying Marid integration and my idea is, whenever an alert is created, it will call the script referred to by actions.Create.script in marid.conf and this script will create an incident for me.


However, i want my script to check if a similar incident is already created for that alert. If there is, i will just relate that alert to the incident instead of creating a new one.


So far, I have read the following Rest API documentations but found no explicit mention of the ability to relate alerts to incident.


Is there any API that can be used to relate alerts to incidents? 

(Or perhaps I have missed it in the docs i mentioned above, in which case, please do correct me)



1 answer

0 votes

Hi @Ivan Stanlley P Juan - Currently there isn't an API that associates an alert to an incident. When an alert is created that matches an incident rule of a service, it will automatically be associated with the related incident. 



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Opsgenie

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

1,773 views 0 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you