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}/comments

Authentication

The integration supports two authentication methods:

MethodUse CaseConfig Fields
Basic AuthJira Cloudusername + api_token
PATJira Data Centerpat