This project provides scripts to automate the creation of Jira issues and their respective sub-tasks using data from CSV files.
- Read data from CSV files to extract Jira issue details.
- Automated creation of Jira issues.
- Automated creation of sub-tasks linked to the main issues.
- Clone the repository:
git clone https://github.com/star7js/jira-upload-csv.git
- Navigate to the project directory:
cd jira-upload-csv
- Install the required dependencies:
pip install -r requirements.txt
-
Update the Jira authentication details in the script.
Example:BASE_URL = 'https://your-jira-instance-url' jira = Jira( url=BASE_URL, username='your-username', password='your-api-token' )
-
Place your CSV files in the
data/
directory if desired, and refer to them in the script setup.rows = read_csv('path_to_your_csv_file.csv')
-
Run the script. For example:
python src/multi_issue_upload_with_subtasks.py
Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.
This project is licensed under the MIT License. See LICENSE
file for details.