{"id":28360810,"url":"https://github.com/ad-archer/github-issue-automation-script","last_synced_at":"2025-10-16T08:56:49.335Z","repository":{"id":294282214,"uuid":"986489546","full_name":"AD-Archer/GitHub-Issue-Automation-Script","owner":"AD-Archer","description":"Are you project planning and need to create a lot of github issues using ai? well here you go. This will take a csv file, use gh cli to turn it into isses with tags included. It is designed to streamline project planning by allowing you to define issues in a structured format and create them in bulk","archived":false,"fork":false,"pushed_at":"2025-05-19T17:31:27.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T20:40:41.229Z","etag":null,"topics":["automation","bash","bash-script","bash-scripting","cli","gh","gh-cli","github","github-issue","github-issue-workaround","github-issues","github-issues-migrate","issues"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AD-Archer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-19T17:28:26.000Z","updated_at":"2025-05-23T14:52:14.000Z","dependencies_parsed_at":"2025-05-19T18:42:18.934Z","dependency_job_id":"809fe557-3b30-4aab-afba-dfaf063d0620","html_url":"https://github.com/AD-Archer/GitHub-Issue-Automation-Script","commit_stats":null,"previous_names":["ad-archer/github-issue-automation-script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AD-Archer/GitHub-Issue-Automation-Script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AD-Archer%2FGitHub-Issue-Automation-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AD-Archer%2FGitHub-Issue-Automation-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AD-Archer%2FGitHub-Issue-Automation-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AD-Archer%2FGitHub-Issue-Automation-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AD-Archer","download_url":"https://codeload.github.com/AD-Archer/GitHub-Issue-Automation-Script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AD-Archer%2FGitHub-Issue-Automation-Script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279170995,"owners_count":26118670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","bash","bash-script","bash-scripting","cli","gh","gh-cli","github","github-issue","github-issue-workaround","github-issues","github-issues-migrate","issues"],"created_at":"2025-05-28T12:07:07.889Z","updated_at":"2025-10-16T08:56:49.300Z","avatar_url":"https://github.com/AD-Archer.png","language":"Shell","readme":"# GitHub Issue Automation Script\n\nThis project automates the creation of GitHub issues from a CSV file using the GitHub CLI (`gh`). It is designed to streamline project planning by allowing you to define issues in a structured format and create them in bulk.\n\n## Prerequisites\n\n1. **GitHub CLI**: Ensure the GitHub CLI (`gh`) is installed on your system. You can install it from [GitHub CLI Installation Guide](https://cli.github.com/).\n2. **Authentication**: Log in to the GitHub CLI by running:\n   ```bash\n   gh auth login\n   ```\n   Make sure you have the necessary permissions to create issues and labels in the target repository.\n3. **CSV File**: Prepare a CSV file named `issues.csv` in the following format:\n   ```csv\n   title,body,assignees,labels,milestone\n   \"Issue Title\",\"Issue description\",\"assignee1,assignee2\",\"label1,label2\",\"Milestone Name\"\n   ```\n\n## Setup\n\n1. Clone this repository or copy the script to your local machine.\n2. Place the `issues.csv` file in the same directory as the script.\n3. Open the script (`script.sh`) and update the `REPO` variable to point to your target GitHub repository:\n   ```bash\n   REPO=\"YourUsername/YourRepository\"\n   ```\n\n## Usage\n\n1. Make the script executable:\n   ```bash\n   chmod +x script.sh\n   ```\n2. Run the script:\n   ```bash\n   ./script.sh\n   ```\n3. Follow the prompts to create issues.\n\n## Features\n\n- **Label Creation**: Automatically creates missing labels defined in the CSV file.\n- **Bulk Issue Creation**: Reads issues from the CSV file and creates them in the specified repository.\n\n## CSV Format\n\nThe `issues.csv` file should have the following columns:\n\n- `title`: The title of the issue.\n- `body`: A detailed description of the issue.\n- `assignees`: Comma-separated GitHub usernames to assign the issue to.\n- `labels`: Comma-separated labels to apply to the issue.\n\nExample:\n```csv\ntitle,body,assignees,labels,milestone\n\"Implement Feature X\",\"Description of feature X\",\"user1,user2\",\"feature,backend\",\"Milestone 1\"\n\"Fix Bug Y\",\"Description of bug Y\",\"user3\",\"bug,frontend\",\"Milestone 2\"\n```\n\n## Example `issues.csv`\n\nAn example `issues.csv` file is provided in this repository as `issues.example.csv`. You can use it as a template by copying it to your working directory and renaming it to `issues.csv`:\n\n```bash\ncp issues.example.csv issues.csv\n```\n\nModify the contents of `issues.csv` to suit your project needs.\n\n## Troubleshooting\n\n- **Authentication Errors**: Ensure you are logged in to the GitHub CLI and have the correct permissions.\n- **Label Not Found**: The script will automatically create missing labels. If a label already exists, it will skip creation.\n- **CSV Parsing Issues**: Ensure the CSV file is properly formatted with no extra commas or missing fields.\n\n## Limitations\n\n- The script does not currently support milestones. If milestones are included in the CSV, they will be ignored.\n- Ensure the repository is accessible and you have the necessary permissions to create issues and labels.\n\n## License\n\nThis project is open-source and available under the MIT License.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-archer%2Fgithub-issue-automation-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fad-archer%2Fgithub-issue-automation-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-archer%2Fgithub-issue-automation-script/lists"}