A python script to move Github issues to a next-gen (beta) Github Project
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The things you need before installing the software.
- Python
- A Github personal access token
- A Github next-gen (beta) project
- A Github repository with issues in it
A step by step guide that will tell you how to get the development environment up and running.
$ pip install -r requirements.txt
$ export GITHUB_TOKEN=[github personall access token] # this is optional, if this env var isn't set the script will ask for it
A few examples of useful commands and/or tasks.
Basic usage:
$ python3 github_issues_to_project -o [organization name] -r [repository name] -p [project number from URL bar]
The script will list the first 30 issues from that repo and ask for confirmation that you want to add them to the project. If you confirm with Y
/y
it will add those issues to the project. If you type anything else it will exit.
See the contributing guidelines for more info about contributing to this repository.
This repository is governed by a Code of Conduct, please follow it in all your interactions with this project.