User Feedback and JIRA Integration System
Overview
This project is a web-based application designed to collect user feedback and create corresponding issues in JIRA. It features a frontend for submitting feedback and a Flask-based backend that processes this feedback, categorizing it into issues with varying priorities. These issues are then posted to JIRA, streamlining the tracking and management process.
Features
- User Feedback Form: A simple and intuitive interface for users to submit feedback.
- Flask Backend: Processes the feedback, classifying it into different categories and priorities.
- JIRA Integration: Automatically creates issues in JIRA based on user feedback.
- Dockerized Setup: Ensures consistency across development and production environments.
Getting Started
Prerequisites
- Docker
- Git (for cloning the repository)
- An
.envfile in the backend directory with the following variables:
OPENAI_API_KEY=xxx
JIRA_API_TOKEN=xxx
JIRA_EMAIL=xxx
PORT=xxx
Installation
- Clone the Repository
git clone [repository-url]
Create a .env File Navigate to the backend directory and create a
.envfile with the necessary environment variables.Build and Run with Docker Compose
docker-compose up --build
This command will build and start both the frontend and backend services.
Usage
Submitting Feedback
Access the frontend at http://localhost and submit feedback using the provided form.
Backend Endpoints
- POST /create_issue: Endpoint for creating a new issue from the submitted feedback.
- POST /post_issue: Endpoint for posting the created issue to JIRA.
Viewing Generated Issues
Access your JIRA dashboard to see the issues created based on the user feedback.