Closed alexxcons closed 5 years ago
Thanks for reporting and for the logs, we'll investigate ASAP.
migration.go
Line 223
- _, _, err := target.Issues.UpdateIssue(tarProjectID, ni.ID, &gitlab.UpdateIssueOptions{StateEvent: &event, Labels: issue.Labels})
+ _, _, err := target.Issues.UpdateIssue(tarProjectID, ni.IID, &gitlab.UpdateIssueOptions{StateEvent: &event, Labels: issue.Labels})
At cmd/gitlab-copy/migration.go#L223 seem to do the trick !
Thanks boTux!
Thank alot for this tool, it saved me a bunch of work !
However for gitlab API v4, it seems to have problems on closing bugs. I just closed them by hand now, which was no big deal for only ~20 bugs. Here the console output: