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,551,821
Community Members
 
Community Events
184
Community Groups

How to create automaically an issue when an incident is created

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 15, 2021

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

regards

1 answer

1 accepted

0 votes
Answer accepted
Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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

e.g.

2021-04-15_10-46-23.png

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!

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 15, 2021

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

regards

Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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.

2021-04-15_11-31-24.png

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 16, 2021

right I am on a trial

Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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 admin.atlassian.com -> click on your site -> manage subscriptions.

2021-04-16_09-22-08.png

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2021

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,

vMuv4LOvZf.png

Any idea where should I find it ?

regards

Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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:

e.g.

2021-05-10_09-22-35.png

 

Thanks,

Samir

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2021

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

regards

Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2021

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

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2021

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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. 

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2021

All is clear @Samir thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events