Skip to content

Easy way to create tasks and subtasks from a CSV using atlassian-python-api

License

Notifications You must be signed in to change notification settings

star7js/jira-upload-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jira Issue Creator

This project provides scripts to automate the creation of Jira issues and their respective sub-tasks using data from CSV files.

Table of Contents

Features

  • 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.

Installation

  1. Clone the repository:
    git clone https://github.com/star7js/jira-upload-csv.git
    
  2. Navigate to the project directory:
    cd jira-upload-csv
    
  3. Install the required dependencies:
    pip install -r requirements.txt
    

Usage

  1. 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'
    )
    
  2. 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')
    
  3. Run the script. For example:

    python src/multi_issue_upload_with_subtasks.py
    

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.

License

This project is licensed under the MIT License. See LICENSE file for details.

About

Easy way to create tasks and subtasks from a CSV using atlassian-python-api

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages