Automate Jira ticket to GitHub PR workflow
Project description
Ticket2PR
Ticket2PR is an AI-powered automation tool designed to streamline the process of converting development tickets into ready-to-merge pull requests. It integrates with Jira and GitHub to automate tasks such as branch creation, commit message generation, code linting fixes, and pull request content generation, significantly reducing manual effort and accelerating development workflows.
What's Included
Ticket2PR provides a comprehensive set of features to automate your development workflow:
- 🚀 Automated Workflow: Orchestrates the entire process from ticket to pull request, handling branch creation, commit message generation, and PR content.
- 🤖 AI-Powered Agents: Utilizes specialized agents for tasks like crafting intelligent commit messages, automatically fixing pre-commit issues, and assisting with ticket resolution.
- 🔗 Jira Integration: Connects with Jira to fetch ticket details, enabling context-aware automation.
- 🐙 GitHub Integration: Interacts with GitHub for branch management, pull request creation, and status updates.
Prerequisites
- Jira Account and API Token: An account with access to a Jira instance and a valid API token with necessary permissions to view tickets.
- GitHub Account and Personal Access Token: A GitHub account with permissions to create branches and pull requests in your target repository, and a Personal Access Token (PAT) with
reposcope for GitHub API access. - Claude Code API Token: Obtain an API token for Claude Code for AI-powered code assistance.
Getting Started
Follow these steps to set up and start using Ticket2PR:
Installation
You can install ticket2pr directly from PyPI:
pip install ticket2pr
Configuration
Ticket2PR automatically guides you through the initial configuration process the first time you run the CLI.
To re-initialize the interactive configuration session, run:
ticket2pr init
Alternatively, you can manually configure settings by editing the ~/.ticket2pr/config.toml file or by setting environment variables.
Usage
Run the Ticket2PR CLI to create a pull request from a Jira ticket:
ticket2pr run <JIRA_ISSUE_KEY>
Replace <JIRA_ISSUE_KEY> with the actual ID of your Jira ticket (e.g., PROJ-123).
License
This project is open-sourced under the terms of the LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ticket2pr-0.3.6.tar.gz.
File metadata
- Download URL: ticket2pr-0.3.6.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b9e7804ad9d5dca5c584befb42127b72e5fb80a7c32a09c205d7a246815412f
|
|
| MD5 |
0b4f49d31bc3b15f29326242afe12ae1
|
|
| BLAKE2b-256 |
9a7c1eb704d965253a43f4f5ada9ab2941259d9643cd7a4979aa9c0ed43879e2
|
File details
Details for the file ticket2pr-0.3.6-py2.py3-none-any.whl.
File metadata
- Download URL: ticket2pr-0.3.6-py2.py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00f92994942158af68327e64015450ae413f4788fec61232bff9ff9a09c41231
|
|
| MD5 |
0b3c33cf882c1ae565c3a960c98daf43
|
|
| BLAKE2b-256 |
b5f31aaf7b26dce175ea8d03ab4c7cd7f54073d26d073c887bf712f6ebc416a6
|