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

Hi Team,

I am new to this OpsGenie tool and I want to stop duplication of alerts receiving through emails. Everytime a new alert appear, It will create new alert.

When a ticket is created in JIRA, It will updated in Opsgenie also but when an alert is created in opsgenie, new ticket is not created in JIRA.

Please help me out in these matters.

2 answers

1 accepted

0 votes
Answer accepted

Is your Jira cloud, or on prem? That will impact how the process works.

In general, you have to think of this as two different integrations. 

Jira -> OpsGenie. In this case, When a Jira ticket is created, it sends a notification to opsgenie to reach out to the on call user. But the ticket itself is (usually) managed in Jira

OpsGenie -> Jira. In this case, some other integration in opsgenie creates an incident in opsgenie, and that alert creates a jira ticket. In this case, you can may manage the initial response in opsgenie, but do follow up in jira. (it all depends on what you want to do)

What you want to be careful of is trying to use both at the same time, so you don't end up in a loop. 

So the real question is what do you want to do?

Hey,

I am using JIRA server.

I integrated my opsgenie with email integration to create alerts according to emails and after that alerts need to create ticket in JIRA.

Here alerts are created with emails but JIRA is not creating tickets according to alerts. I have also generated API token for integration but still it is not working.

Is your Jira Server reachable from the internet? If so you should be able to set up an integration in opsgenie directly at

https://app.opsgenie.com/integration#/add/Jira

There is a section there where you will need to enter the URL and login credentials of your jira server. Opsgenie will then make API calls to your server directly to create and manage issues.

If your Jira Server is not available from the internet, as an additional step you will need to run a process called OEC on your jira server. This is a "edge connector" or proxy that makes an outbound connection to Opsgenie, listens for events that are sent to it. https://docs.opsgenie.com/docs/oec-overview

(there used to be a product called "marid" that did the same thing, I am more familar with marid then OEC, though I guess I will need to upgrade at some point.

Hey, 

I referred this document and not able to achieve anything. This document is a bit confusing. 

Do you have any other way to integrate JIRA?

0 votes
Kate Clavet Atlassian Team Nov 20, 2019

Hi @Sanchit Aggarwal Andrew makes a great point. Be sure that the way that you set up the integration makes sense for your use case. Use the action mapping portion of the integration set up, so that you're not creating an Opsgenie alert for every Jira Issue. If you're using Cloud, this is what it looks like for both Jira and JSD: 

 

Screen Shot 2019-11-20 at 2.22.15 PM.png

Hopefully what @Andrew Laden and I write makes sense, let us know! :) 

Suggest an answer

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

What’s New in Opsgenie October 2019

Hi there, we have a lot of exciting announcements this month, specifically around Dark Mode. You don’t want to miss out!    Dark Mode for Mobile App is here! A few weeks ago, we annou...

1,403 views 3 15
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