IQAndreas / github-issues-import

Python script to import issues from one repository into another, either one at a time or all of them at once.
http://www.iqandreas.com/github-issues-import/
MIT License
423 stars 174 forks source link

import_label passes wrong parameter #53

Open alex-zadara opened 8 years ago

alex-zadara commented 8 years ago

It does:

def import_label(source):
    data = {
        "name": source['name'],
        "color": source['color']
    }

    result_label = send_request('target', "labels", source)

but it should do:

    result_label = send_request('target', "labels", data)
alex-zadara commented 8 years ago

I made some additional changes to the script and forked it in https://github.com/alex-zadara/github-issues-import. The include, for example, migrating also some of issues's events (like assigned, unassigned, referenced, cross-referenced) etc. See if you want to pull some of these.