What’s the Problem?
Current Setup: Our Opsgenie was initially enabled from JSM2 service project (commonly used for external stakeholders) leading to default options in Jira project under ‘Operations section – Refer Screenshot JSM2 default setting’. Upon clicking on these options, user gets directed to Opsgenie platform.
Opsgenie was later linked to JSM1 project (commonly used for internal issues) via webhooks per team for which there was a toggle option in Jira project under Project Settings > Features tab. (Please refer Screenshot JSM1 toggle option)
Due to this structure of integration, Opsgenie has incoming alerts from both the projects. Also, JSM2 project is receiving all incidents details that are being generated in Opsgenie rather than the specific ones. Nonetheless, JSM2 project doesn’t have an option to delete or remove these incident details. Is there a way to undo this and set up an Opsgenie environment as outlined below in the ideal situation?
What do we want?
Ideal Setup: We should be receiving alerts from JSM1 service project into Opsgenie from where only a few of the selected alerts/incidents relevant to external stakeholders would go to JSM2 project. To summarise, integration direction should look like JSM1 --> Opsgenie --> JSM2 i.e Opsgenie would have incoming requests from JSM1 and some of the received alerts would flow to JSM2.
Please let me know if you require further clarification on this.
Let me summarize what I believe you're trying to set up - please let me know if I have this right:
Issues are initially raised in JSM1 - and these issues trigger new alerts to be created in Opsgenie. Based on a set of conditions in Opsgenie, those new alerts may then also trigger new issues to be created in JSM2.
Is that correct? In this case, do you currently have a webhook enabled for JSM1 to send to a JSM integration in Opsgenie? You'll want to first get this working - using our documentation here:
This will get the first part of this flow working. In order to send *back* to your JSM2 project and create new issues, we'll need to add a second integration in Opsgenie. In that integration, you'll need to first check the box to "Create Jira Service Management Issue for Opsgenie Alerts". You can then add in your filtering (which will determine which alerts will be sent back to JSM), and then add the information for your JSM2 project (project key, issue type, and user credentials):
Once that is all in place, you can save this integration, and test it out by creating a new issue in JSM1, and confirming whether it A) creates the alert, and B) triggers a new issue to be created in JSM2.
Let me know if I'm understanding your issue correctly, and if so, whether these steps get you what you're wanting!
This article was co-authored by Gavin Cohen of Zebrium. Zebrium has a bi-directional integration with Opsgenie and is a machine learning solution for RCA. We all know the drill. 💤 You'r...
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