github-issues-import
github-issues-import copied to clipboard
import_label passes wrong parameter
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)
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.