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
Community Members
Community Events
Community Groups

[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 Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

122 views 1 3
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