Skip to content

This Python project automates the integration between GitHub and Jira, allowing seamless synchronization between the two platforms. The main feature of this integration is to monitor comments made on GitHub issues, and automatically trigger the creation of a new ticket in Jira whenever a comment is detected.

Notifications You must be signed in to change notification settings

GMATHUR90/Github_jira_integration

Repository files navigation

GitHub-Jira Integration

This Python project provides a seamless integration between GitHub and Jira, automatically creating Jira tickets whenever a comment is made on an issue in a GitHub repository. This integration is designed to improve workflow efficiency and ensure that all comments on GitHub issues are tracked and managed in Jira.

Features

  • Comment Monitoring: Automatically monitors comments on GitHub issues.
  • Jira Ticket Creation: Creates a new Jira ticket whenever a comment is detected on a GitHub issue.
  • Configurable Mapping: Easily configure which GitHub repositories and Jira projects are linked.
  • Secure Authentication: Uses OAuth and API tokens to securely communicate between GitHub and Jira.
  • Detailed Logging: Provides comprehensive logs to track the integration's performance and troubleshoot issues.

Prerequisites

Before setting up the integration, ensure you have the following:

  • Python 3.7 or later
  • GitHub account with access to the relevant repositories
  • Jira account with API access
  • Git installed on your machine

Installation

Clone the Repository:

git clone https://github.com/GMATHUR90/Github_jira_integration.git
cd github-jira-integration

Install Dependencies:

pip install -r requirements.txt

Set Up Environment Variables:

1.Create a .env file in the root directory of the project. 2. Add your GitHub and Jira credentials to the .env file:

GITHUB_TOKEN=your_github_token
JIRA_API_TOKEN=your_jira_api_token
JIRA_USERNAME=your_jira_username
JIRA_PROJECT_KEY=your_jira_project_key

Run the Integration:

python main.py

About

This Python project automates the integration between GitHub and Jira, allowing seamless synchronization between the two platforms. The main feature of this integration is to monitor comments made on GitHub issues, and automatically trigger the creation of a new ticket in Jira whenever a comment is detected.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages