jeffwidman / bitbucket-issue-migration

A small script for migrating repo issues from Bitbucket to GitHub
GNU General Public License v3.0
316 stars 95 forks source link

Errors if the github repo already has issues #90

Closed GeorgeFuller closed 7 years ago

GeorgeFuller commented 7 years ago

Imported Issue: https://api.github.com/repos/****/****/issues/7 Traceback (most recent call last): File "migrate.py", line 608, in sys.exit(main(options)) File "migrate.py", line 205, in main assert gh_issue_id == issue['local_id'] AssertionError

Received this error when running the script. I fixed it by making a new github repo that didn't already have issues in it. Guess it doesn't work if your repo already has issues.

jeffwidman commented 7 years ago

This is documented in the readme. It works just fine, but you need to edit the code.