github-issues-import icon indicating copy to clipboard operation
github-issues-import copied to clipboard

import_label passes wrong parameter

Open alex-zadara opened this issue 8 years ago • 1 comments

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 avatar Jun 21 '16 15:06 alex-zadara

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.

alex-zadara avatar Jul 05 '16 10:07 alex-zadara