Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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

regards

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

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!

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

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 admin.atlassian.com -> click on your site -> manage subscriptions.

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

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

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 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
TAGS
Community showcase
Published in Opsgenie

New GitLab integration in Incident Investigation view

We launched the first version of the Incident investigation view in April of 2020 for Bitbucket Pipelines. Shortly after that, we added the ability to investigate deployment-related incidents in Opsg...

340 views 0 4
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