Skip to content
A script for automatically moving project cards from one project to another project
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
GH_Projects_API.ipynb
GitHub_API_GettingStarted.ipynb
LICENSE
README.md
gh_proj_card_mover

README.md

GitHub Project Card Mover

A script for automatically moving project cards from one project to another project (within the same repo, user or organization).

$ ./gh_proj_card_mover --help
usage: gh_proj_card_mover [-h] [-v] [-q] [-n] [-C COLUMN] [-c] --token TOKEN
                          --src SRC --dest DEST

Move a set of cards from one github project board to another project board

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         increase output verbosity
  -q, --quiet           decrease output verbosity
  -n, --dry-run         Dry run: do everything but do not modify either source
                        ordestination boards
  -C COLUMN, --column COLUMN
                        Move cards only between the named column (default:
                        move between all identically named columns)
  -c, --copy            Do not remove cards from source project, just copy
                        them to the destination project.

GitHub project arguments:
  --token TOKEN         The personal token for authenticating to GitHub
  --src SRC             (required) The url of the project to move cards FROM
  --dest DEST           (required) The url of the project to move cards TO

Version: 0.1

Ideally, this script would use PyGitHub, but it doesn't currently support the new project API.

This is also an exercise on my part, as an exercies in learning and using both the requests module and the GitHub API.

Please feel free to open issues or PRs for feature requests or bug fixes.

You can’t perform that action at this time.