Get started with Opsgenie as a user
Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
Opsgenie has a specific update set that allows a bi-directional integration between Opsgenie and Jira. Use the integration to have Jira send issues to Opsgenie with detailed information. Opsgenie forwards alerts as issues to Jira. Opsgenie determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
When a Jira issue is created or re-opened in Jira, the integration automatically creates an alert in Opsgenie.
When an issue is resolved, closed, or fixed in Jira, the integration automatically closes the related alert in Opsgenie.
When the Jira issue receives a comment, the integration automatically adds a note to the related alert in Opsgenie.
When Send alert updates to Jira is selected, the integration executes a Jira action in the user's Jira account with the designated Opsgenie alert action. Alert must be created by Jira previously.
When Create and update Jira issues with Opsgenie alerts that are created by other integrations is selected, the integration executes a Jira action in the user's Jira account with the designated Opsgenie alert action. Alert must be created by a third-party tool.
To create a new integration;
Go to Settings > Integrations.
Select Add integration
Select Jira Software Cloud.
On the create screen, enter an Integration name.
If you want a specific team to receive alerts from that integration, select Assigned to team. Otherwise, leave empty.
If you have a connected Atlassian site, we’ll show it in the Connection field.
Select the Jira project you want to integrate with Opsgenie. If you’re going to integrate Opsgenie with multiple projects, create another integration.
Select Save.
If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.
Go to Teams and select your team.
Select Integrations on the left navigation and then select Add integration.
Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.
Now that your base settings are done, you can start creating rules for this integration. Opsgenie offers two rule sets;
Incoming automation rules are used for automating new or existing alerts when triggered by the Jira integration. You can acknowledge or update an alert, add a note, close, or create a new alert through Jira issues. By default;
Opsgenie creates a new alert whenever a Jira issue is created in your selected project.
Opsgenie closes the alert whenever the Jira issue that created the alert is updated to Resolved, Closed, or Done.
Opsgenie adds a new note to the alert whenever a comment is added to the Jira issue.
You can add multiple rules for each action. Additionally, you can add rules to acknowledge alerts or select the type of alerts to ignore this integration.
Outgoing automation rules define how Opsgenie alerts affect your Jira. There are two types of rule you can create for an outgoing automation;
Send alert updates to Jira to update a Jira issue when the alert triggered by that issue is updated in Opsgenie. This means that if an issue created in Jira triggered an alert in Opsgenie, with an incoming automation rule, and if that alert gets an update, Opsgenie sends this update information to Jira and updates the issue.
Create and update Jira issues with Opsgenie alerts that are created by other integrations is also for triggering a Jira issue with an alert. However, you can trigger Jira issues with alerts you received from your other tools with this option.
To create an incoming automation rule;
Go to Settings → Integrations.
Select an integration to view the detail.
Under Incoming automation rules, select Add rule.
Enter Rule name.
Select Rule type. This is the action Opsgenie will take for the alerts you’ll define in the following steps.
Start adding conditions to select which alerts you’d like to apply to this rule. Learn more about action filters. At this point, Opsgenie knows what action to take for which alerts. In the following steps, you can customize the alert detail.
In Alert properties, drag dynamic fields into the relevant alert fields. Select Show all fields to see all alert fields.
If you’d like to enable this rule now, select Enable now checkbox.
Select Save to add the rule.
We have two options for outgoing automation rules;
If you receive an alert triggered by the incoming automation rule of a Jira integration, you can update the Jira issue simultaneously when the alert gets an update. To do that;
Go to Settings → Integrations.
Select an integration to view the detail.
Under Outgoing automation rules, select Send alert updates back to Jira.
Select Add update rule.
We’ll add a configurable row to create the rule. First, select an action, then select the update type.
Add as many rules you need, then select Save.
You can disable the rule set by unselecting the checkbox. We’ll keep the rules, but we won’t apply them until you enable them again.
Select this option to trigger Jira issues with an alert you receive from one of your tools.
Go to Settings → Integrations.
Select an integration to view the detail.
Under Outgoing automation rules, select Create and update Jira issues with Opsgenie alerts that are created by other integrations.
Select Add issue creation rule.
Enter a Rule name.
Start adding conditions in the Filter alerts to select which alerts you’d like to apply this rule. Learn more about action filters.
Select which alert action should trigger creating this issue. Remember, we’ll apply the alert action only for the type of alerts you’ve selected in the previous step.
In Issue properties, select an Issue type.
Select Customize the issue details to edit the fields of the issue this rule will create.
Drag dynamic fields to customize, then select Apply.
At this point, Opsgenie knows when and how to create an issue in Jira with an alert.
Set issue update actions to define how to update the issue. Select Add new action.
We’ll add a configurable row to create the rule. First, select an action, then select the update type.
If you’d like to enable this rule now, select Enable now checkbox.
Add as many rules you need, then select Save.
When you add all the rules, select Enable integration from the top of the page.
Was this helpful?