Transfers issues from Pivotal to ZenHub.
$ npm install -g pivotal-to-zenhub
If required command-line flags are missing (see pivotalToZenhub --help
for
the flags, you'll be prompted for the values - and we'll try our best to guess
them):
$ pivotalToZenhub
Github Token (load from ENV):
--> Using ************************************0123
GitHub repository (pivotalToZenhub):
--> Using pivotalToZenhub
GitHub user or organization (gaboesquivel):
--> Using gaboesquivel
Pivotal Project ID: 1234
Pivotal token (load from ENV):
--> Using ****************************0123
Fetching Pivotal tickets...
--> Fetching stories...
# Goes on with progress-bar and fancy stuff
$ pivotalToZenhub --pivotal-token $PIVOTAL_API_TOKEN --github-token $GITHUB_API_TOKEN --github-user gaboesquivel --github-repo pivotal-to-zenhub --pivotal-id 1234 --zenhub-token $ZENHUB_API_TOKEN
- Imports Pivotal Tracker stories as Github issues
- Closes resolved stories
- Adds metadata to the issues (creator, created at, labels, etc.)
- Adds comments to the issues
- Adds tasks to the issues
- Adds estimates to the issues
- Update reference links in imported comments and descriptions
- Add dependency notes
This code is published under the MIT license.
Would you like to buy me a beer? Send bitcoin to 19f14qCCVk5JFEnfXdqUGMzRANzXCeTfR8
This script is based on yamadapc/pivotal-to-github