API Reference

The JiraAgent API allows you to automatically classify and categorize Jira tickets using advanced AI. Our API is RESTful, uses JSON-encoded requests/responses, and requires API key authentication.

Base URL

https://api.jiraagent.ai/v1/jira

Authentication

All API requests require an API key for authentication. You can generate an API key in your JiraAgent dashboard. Include the API key in the Authorization header of all requests.


curl https://api.jiraagent.ai/v1/classify \
  -H "Authorization: Bearer YOUR_API_KEY"
                    

Webhook Setup

To keep your clusters up-to-date, you need to configure a webhook in your Jira project that notifies our API when tickets are created or updated.


{
    "webhook_url": "https://api.jiraagent.ai/v1/webhook/YOUR_PROJECT_ID",
    "events": ["jira:issue_created", "jira:issue_updated"],
    "jql_filter": "project = 'YOUR_PROJECT'"
}