Jira Integration
Connect Jira to link resources to issues, track change requests, and enrich infrastructure context.
Overview
The Jira integration connects your Atlassian Jira instance to Knowledge Tree, allowing you to link infrastructure resources to Jira issues and view issue context alongside resource details.
Configuration
jira:
enabled: true
base_url: "https://yourteam.atlassian.net"
username: "user@example.com"
api_token: "$" + "{JIRA_API_TOKEN}"Use a Jira API token (not your password). Generate one from Atlassian Account Settings > Security > API tokens. Alternatively, use a Personal Access Token (PAT) for Jira Data Center.
API Endpoints
# List projects
GET /api/v1/jira/projects
# Get a specific project
GET /api/v1/jira/projects/{key}
# Search issues with JQL
POST /api/v1/jira/search
{"jql": "project=INFRA AND status=In Progress", "maxResults": 50}
# Get a specific issue
GET /api/v1/jira/issues/{key}
# Get issue comments
GET /api/v1/jira/issues/{key}/commentsAuthentication
The integration supports two authentication methods:
| Method | Use Case | Config Fields |
|---|---|---|
| Basic Auth | Jira Cloud | username + api_token |
| PAT | Jira Data Center | pat |