Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

import_label passes wrong parameter #53

Open
alex-zadara opened this issue Jun 21, 2016 · 1 comment
Open

import_label passes wrong parameter #53

alex-zadara opened this issue Jun 21, 2016 · 1 comment

Comments

@alex-zadara
Copy link

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
Copy link
Author

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant