Skip to content

JiraGen: AI-Powered JIRA Issue Generation

JiraGen is a powerful command-line tool that leverages AI to generate high-quality JIRA issues with context from your codebase. It streamlines the issue creation process by automatically extracting relevant metadata and providing an interactive workflow for issue refinement.

Features

  • AI-Powered Generation: Uses advanced language models (OpenAI GPT-4 by default) to generate detailed issue descriptions
  • Codebase Context: Incorporates relevant code snippets and documentation from your codebase
  • Interactive Workflow: Edit content and metadata before uploading
  • Smart Metadata: Automatically extracts issue type, priority, labels, and components
  • JIRA Integration: Seamlessly upload issues to your JIRA instance
  • Fast & Efficient: Vector store-based search for quick context retrieval
  • Template Support: Customizable templates for consistent issue format

Quick Start

  1. Install JiraGen:
pip install jiragen
  1. Initialize in your project:
jiragen init
  1. Add your codebase to the vector store:
jiragen add .
  1. Generate a issue:
jiragen generate "Add dark mode support" --upload

Example Usage

Basic issue Generation

# Generate a issue with default settings
jiragen generate "Implement user authentication"

# Generate and upload with automatic metadata
jiragen generate "Fix memory leak in worker process" --upload --yes

# Use custom model and template (check LiteLLM docs for available models)
jiragen generate "Add OAuth support" --model openai/gpt-4o --template feature.md

Interactive Features

  • Edit generated content in your preferred editor
  • Review and modify extracted metadata
  • Confirm before uploading to JIRA

Configuration

JiraGen can be configured through:

  • Command-line arguments
  • Configuration file (~/.jiragen/config.ini)
  • Environment variables

See the Getting Started guide for detailed configuration instructions.

Documentation

Contributing

We welcome contributions! Check out our Contributing Guide to get started.

License

JiraGen is licensed under the MIT License. See the LICENSE file for details.