Jira Integration
Connect Jira to enable the AI agent to search issues, create tickets, and automatically investigate incoming issues via webhooks.
Capabilities
| Capability | Description |
|---|---|
| Search Issues | Query issues using JQL |
| Read Issues | Access full issue details and comments |
| Create Issues | Create new bugs, tasks, and stories |
| Add Comments | Post investigation results to issues |
| Transition Issues | Change issue status |
| Webhooks | Trigger investigations on new/updated issues |
Supported Platforms
Autoheal supports both Jira Cloud and Jira Data Center/Server.
| Platform | Authentication |
|---|---|
| Jira Cloud | Email + API Token |
| Jira Data Center | Personal Access Token (PAT) |
Setup
- Jira Cloud
- Jira Data Center
1
Create an API Token
- Go to Atlassian API Tokens
- Click Create API token
- Name it "Autoheal" and copy the token
2
Add Integration in Autoheal
- Go to Integrations and click Add Integration
- Select Jira and choose Cloud (Email + API Token)
- Enter your Jira URL (e.g.,
https://your-domain.atlassian.net) - Enter your email and API token
- Click Save
1
Create a Personal Access Token
- In Jira, go to Profile (click your avatar) > Personal Access Tokens
- Click Create token
- Name it "Autoheal", set expiration, and copy the token
2
Add Integration in Autoheal
- Go to Integrations and click Add Integration
- Select Jira and choose Data Center (PAT)
- Enter your Jira Server URL (e.g.,
https://jira.company.com) - Enter your Personal Access Token
- Click Save
Configuring Webhooks
Enable webhooks to automatically trigger investigations when issues are created or updated.
1
Enable Webhooks in Autoheal
- Go to Integrations > Jira > Settings
- Toggle Enable Webhooks
- Copy the Webhook URL shown
- Optionally, set a Signing Secret for security
2
Add Webhook in Jira
For Jira Cloud:
- Go to Settings > System > Webhooks
- Click Create a webhook
- Paste the Webhook URL from Autoheal
- Select events: Issue created, Issue updated
- Optionally, add JQL filter (e.g.,
project = SUPPORT) - Save the webhook
For Jira Data Center:
- Go to Administration > System > Webhooks
- Click Create a webhook
- 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:
| Event | Triggers |
|---|---|
jira:issue_created | New investigation |
jira:issue_updated | New investigation |
comment_created | New 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.