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

How to create automaically an issue when an incident is created

Dear all,

We need to try to automate as much things we can and we were thinking of a scenario during our evaluation of opsgenie.

Question 1 : 
Is there a way to create automatically an incident when an certain amount of alert occurs ?

Question 2:

When an incident is created is there a way to create automatically an issue in Jira which is linked to Opsgenie incident ? 

Thanks for advise


1 answer

1 accepted

0 votes
Answer accepted
Samir Atlassian Team Apr 15, 2021

Hi @serge calderara !


Question 1: 

There isn't a way to create an incident in Opsgenie based on multiple alerts. However, you can use Incident Rules to automatically create an incident in Opsgenie when a specific alert is created.

i.e. if alert is created with message containing "Host XXX down", create an incident.


We do have a feature request to be able to create an incident in Opsgenie based on the creation of multiple alerts.


Question 2:

There isn't a way to have  a jira issue automatically created from the incident itself, since the automated jira integration is based on alerts in Opsgenie.

However, each incident will create responder alert(s) for each team that is a responder on the incident. So you could setup the Jira integration to create issues in Jira from one of the responder alerts.

Each responder alert will have an extra property field..


incident-alert-type: Responder



So in the Jira integration, you can set it up to create issues in Jira that contain that field.


Right now integrations in Opsgenie pretty much all are based around alerts. I believe there will be more functionality between integrations with incidents in Opsgenie in the future.


Let me know if you have anymore questions!

based on your reply :

I could find the proper place to setup creating issue in integration ?

Do you have screenshot.

So far for simplicity we have only define an email integration

thanks for help


Samir Atlassian Team Apr 15, 2021

It sounds like you may be on a plan that doesn't support automatic incident creation via incident rules.

Are you on a JSM plan? If so - you would need to be on jsmPremium plan in order to use incident rules to automate incident creation from alerts.


right I am on a trial

Samir Atlassian Team Apr 16, 2021

@serge calderara Yeah you can still be on a trial, but it depends which plan you are trialing. You can see which JSM plan you are on via -> click on your site -> manage subscriptions.


hello @Samir , I switch my JSM plan to Premium as you mention earlier in order to get access to incident rules, but still I could not find this menu in my opsgenie,


Any idea where should I find it ?


Samir Atlassian Team May 10, 2021

Hi @serge calderara - incident rules are configured under a particular service.

You add a service from the "Services" tab under a particular team, and then within that service you can create incident rules to automate incident creation when a particular alert goes to that team:






hello @Samir , got it

Do I need to go through this rule as well if I want to create automatically an Issue in Jira or do I need to add the Jira integration to opsgenie  for that ?

Idea is to create automatically Jira issue from either Alert or Incident

thanks for advise


Samir Atlassian Team May 10, 2021

Creating jira issues from alerts would be done via the Jira integration.

hello @Samir so if I sumarize :

  1. To create automatically Incident from Alert in Opsgenie => use Incident rule
  2. To create automatically Issue in Opsgenie from Alert or Incident=> use Jira integration

Can you confirm ?

I can see they are 2 jira inegration, Service Desk or Sofware, which one should better be used ?

Samir Atlassian Team May 10, 2021

Yes confirmed.


Use Jira Software integration if you are integrating with a Jira Software project, use a Jira Service Management integration if you are integrating with a Jira Service Management project.


Jira Software and Jira Service Management are 2 different products. They are similar, but designed for different types of projects. 

All is clear @Samir thank you

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events