Hi there, I'm Pedro and I work as a Support Engineer for the Jira Service Management team in AMER. Since Opsgenie was released bundled with JSM we started receiving cases where the customers were having a hard time performing the integration between these products.
It can be a little tricky to configure the integration between those two products, but when configured it can be a powerful tool. It’s possible to integrate them for when a ticket is created in Jira it will create an alert in Opsgenie, when this alert is acknowledged a comment can be added to the Jira ticket, when the alert is closed it’s possible to close the ticket directly in Jira.
That being said, let’s cover the steps necessary to complete this integration.
Integration setup in Opsgenie;
Configuring the Integration in Opsgenie
In Opsgenie, go to Teams and select your team - If you are on JSM Premium, you can find this under Settings > Integration List as well;
On the left sidebar go to Integrations;
Add Integration > Select either Jira Software or Jira Service Management (both will work, however, I personally recommend using the Jira Software integration even if your project is a Service Management, it has more filter options);
Copy the URL to use it on the Jira Webhook;
Name the integration, assign it to a Team and enable it;
Enable the two options below to create this back and forth communication between the products;
For the next step, you will need to configure your API Token, for that, follow the steps here.
On the section below, you need to paste the Issue Type exactly as it is displayed in Jira, your site URL, the email of the user who configured the API Token, the API Token itself, and the project key.
(After you save the integration, the API Token will be displayed empty as below, this is expected);
Under the Alert Fields section, you can configure the fields that will be displayed in the alert and select the user who will be added as responsible for the notes;
Save the integration;
Configure the Webhook in Jira
Webhooks are user-defined HTTP POST callbacks. They provide a lightweight mechanism for letting remote applications receive push notifications from Jira, without requiring polling. For example, you may want any changes in Jira bugs to be pushed to a test management system so that they can be retested.
Log in as a user with the Administer Jira global permission;
Choose > System. Under Advanced, select WebHooks;
Create a new Webhook filtering by the issues that you want to pass it over to Opsgenie, for example:
Don’t forget to select issue and comments events at least;
Paste the URL you copied from the Opsgenie integration:
That’s it, the integration is configured and should be working as expected now. You can now create an alert to see if it will create a ticket in the Jira project configured.
Make sure you don’t have mandatory fields during the Jira issue creation that could block the process.
Let me know if you have questions.
Announcing safe customer notifications in Jira Service Management as a building block for compliance and privacy needs At Atlassian, we understand the increasing need to be assured that your data i...
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