Skip to content

A Python-based automation project that fetches issue details from a GitHub repository via webhook, sends them to a Flask app, and automatically creates a Jira ticket using the Jira REST API.

Notifications You must be signed in to change notification settings

asahaccn/Jira-Ticket-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Jira Ticket Automation

πŸ“˜ Summary

A Python-based automation project that fetches issue details from a GitHub repository via webhook, sends them to a Flask app, and automatically creates a Jira ticket using the Jira REST API.


🎯 Purpose

This project is tested and used in production.
It eliminates the manual overhead for developers or testers who would otherwise log into Jira to create tickets.

Whenever a GitHub issue comment (e.g., /jira) is posted, a corresponding Jira issue is automatically created with the relevant details.


πŸš€ Result

Comments from GitHub issues are automatically captured and used to create detailed Jira tickets, ensuring:

  • Faster issue tracking
  • Reduced manual effort
  • Seamless integration between GitHub and Jira

πŸ“‚ Repository Contents

File Description
github-flask-app.py Base Flask app integrating GitHub webhooks with Jira API.
github-flask-app-secured.py Secure version using environment variables for Jira credentials and configurations.
README.md Documentation and setup guide.

βš™οΈ Setup & Usage

1️⃣ Set Environment Variables

Before running the secured version, configure your Jira credentials safely using environment variables:

export JIRA_DOMAIN="your-domain.atlassian.net"
export JIRA_EMAIL="your-email@example.com"
export JIRA_API_TOKEN="your_actual_jira_api_token_here"
export JIRA_PROJECT_KEY="SCRUM"
export JIRA_ISSUE_TYPE_ID="10006"

About

A Python-based automation project that fetches issue details from a GitHub repository via webhook, sends them to a Flask app, and automatically creates a Jira ticket using the Jira REST API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages