The Bug Reporter Slack Bot is a Python script that retrieves bug tickets from JIRA and posts them in a Slack channel. It provides an easy way to keep track of bug tickets for review.
-
Install Python: Make sure you have Python installed on your machine. You can download it from the official Python website: python.org.
-
Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/tdeva14/bugReporterSlackBot.git
-
Install Dependencies: Navigate to the cloned repository directory and install the required Python packages by running the following command:
pip install -r requirements.txt
-
Configure the Bot:
- Replace the placeholder values in
bugreporter.py
with the actual values for the Slack BOT token, channel name, JIRA domain URL, JIRA username, JIRA password, search query, JIRA usernames, JIRA mail IDs, and Slack member IDs. Ensure you remove the##
characters and provide the appropriate values.
- Replace the placeholder values in
-
Run the Bot: Execute the Python script by running the following command:
python bugreporter.py
The bot will retrieve bug tickets from JIRA and post them in the specified Slack channel.
-
The
requirements.txt
file lists the required Python packages. You can install them using the command mentioned in the setup instructions. -
The
.gitignore
file specifies the files and directories that should be ignored by Git. It includes common Python-related files and directories.
This project is licensed under the MIT License.
Feel free to modify and enhance the code as per your requirements!