Webhook Connection for Jira Cloud
![Thumbnail icon](/img/integrations/app-development/jira.png)
You can send JSON payloads from Sumo Logic alerts as an HTTP POST request to create Jira issues in Jira Cloud. Learn more about the Jira REST API in their Jira Cloud platform Developer Reference.
Webhook connections rely on HTTP endpoints that tell Sumo Logic where to send data. You can set up any number of connections.
Prerequisite
To send webhook alerts to Jira Cloud you need to include a Basic Authentication Header with requests. This requires an API token, for reference on creating a token see API tokens in Atlassian Cloud Support.
- Generate an API token using your Atlassian Account.
- Using the email address of your Atlassian account and an API token, you can generate the Basic Authentication Header. In the following cURL command, replace
<me@example.com>
with your email address and<my-api-token>
with your API token and run it:curl -v https://mysite.atlassian.net --user <me@example.com>:<my-api-token>
``` - Your response should look like the following image. You'll need the Authorization value when configuring the connection in Sumo Logic.
Configuration in Sumo Logic
In Sumo Logic, Scheduled Searches and Monitors send alerts to other tools via webhook connections. To send alerts from Sumo Logic to Jira Cloud:
- Create a Webhook Connection.
- Use the Webhook Connection as the Alert Type in a Scheduled Search or the Connection Type in a Monitor.
Create a Webhook Connection
You need the Manage connections role capability to create webhook connections.
- In the main Sumo Logic menu, select Manage Data > Monitoring > Connections.
- On the Connections page click the +