Skip to main content

Jira Integration

Connect Jira to enable the AI agent to search issues, create tickets, and automatically investigate incoming issues via webhooks.

Capabilities

CapabilityDescription
Search IssuesQuery issues using JQL
Read IssuesAccess full issue details and comments
Create IssuesCreate new bugs, tasks, and stories
Add CommentsPost investigation results to issues
Transition IssuesChange issue status
WebhooksTrigger investigations on new/updated issues

Supported Platforms

Autoheal supports both Jira Cloud and Jira Data Center/Server.

PlatformAuthentication
Jira CloudEmail + API Token
Jira Data CenterPersonal Access Token (PAT)

Setup

1
Create an API Token
  1. Go to Atlassian API Tokens
  2. Click Create API token
  3. Name it "Autoheal" and copy the token
2
Add Integration in Autoheal
  1. Go to Integrations and click Add Integration
  2. Select Jira and choose Cloud (Email + API Token)
  3. Enter your Jira URL (e.g., https://your-domain.atlassian.net)
  4. Enter your email and API token
  5. Click Save

Configuring Webhooks

Enable webhooks to automatically trigger investigations when issues are created or updated.

1
Enable Webhooks in Autoheal
  1. Go to Integrations > Jira > Settings
  2. Toggle Enable Webhooks
  3. Copy the Webhook URL shown
  4. Optionally, set a Signing Secret for security
2
Add Webhook in Jira

For Jira Cloud:

  1. Go to Settings > System > Webhooks
  2. Click Create a webhook
  3. Paste the Webhook URL from Autoheal
  4. Select events: Issue created, Issue updated
  5. Optionally, add JQL filter (e.g., project = SUPPORT)
  6. Save the webhook

For Jira Data Center:

  1. Go to Administration > System > Webhooks
  2. Click Create a webhook
  3. Follow the same steps as Cloud
3
Test the Webhook

Create a test issue in Jira and verify an investigation is created in Autoheal.

Webhook Events

Autoheal responds to the following Jira webhook events:

EventTriggers
jira:issue_createdNew investigation
jira:issue_updatedNew investigation
comment_createdNew investigation

Example Queries

Search for open bugs in the SUPPORT project
Find all high priority issues assigned to me
Get details about PROJ-123
List all issues updated in the last 7 days

Permissions

The API token or PAT needs the following permissions:

  • Browse Projects - View projects and issues
  • Create Issues - Create new issues (optional)
  • Add Comments - Post investigation results (optional)
  • Transition Issues - Change issue status (optional)

For webhooks, ensure the Jira user has permissions to view the issues that trigger webhooks.