JSPM

github-pr-jira-integration

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q61744F
  • License MIT

Automatically update Jira tickets when GitHub Pull Requests are created or updated using AI-powered summaries

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (github-pr-jira-integration) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    GitHub PR to Jira Integration

    This project automatically updates Jira tickets when GitHub Pull Requests are created or updated. It uses AI (Claude) to generate intelligent summaries of PR changes and posts them as comments in related Jira tickets.

    Features

    • ✅ Automatically triggers on PR creation/updates
    • ✅ Extracts PR information (title, description, commits, files)
    • ✅ Generates AI-powered summaries using Claude API
    • ✅ Updates Jira tickets with structured comments
    • ✅ Supports Jira ticket ID extraction from PR titles/descriptions

    Quick Installation

    To add this integration to any repository, run this single command from your repository root:

    npx github-pr-jira-integration

    Or install globally and use the command:

    npm install -g github-pr-jira-integration
    github-pr-jira-integration

    Next Steps

    1. Repository Secrets

    These are organization level secrets that should most likely already be set in an BetterUp repo. If not, configure the following secrets in your GitHub repository:

    • ANTHROPIC_API_KEY: Your Claude API key
    • JIRA_BASE_URL: Your Jira instance URL (e.g., https://yourcompany.atlassian.net)
    • JIRA_USER_EMAIL: Your Jira email address
    • JIRA_API_TOKEN: Your Jira API token

    2. Jira Ticket Reference

    Include your Jira ticket ID in the PR title or description using the format PROJECT-123 (e.g., PROJ-456).

    Examples:

    • PR Title: [PROJ-123] Add user authentication feature
    • PR Description: This PR implements user login functionality for PROJ-123

    Files Added

    • .github/workflows/pr-jira-integration.yml: GitHub Actions workflow
    • pr_jira_integration.py: Main integration script
    • requirements.txt: Python dependencies

    Usage

    Simply create or update Pull Requests with Jira ticket references, and the integration will automatically update the corresponding Jira tickets with AI-generated summaries of the changes.