Open mike-potter opened 3 years ago
Not really. The GH api sets the owner to the one making the request. The only way is to make requests as the different users (with different tokens) or to use an impersonation token, as available on GH Enterprise. This script does not allow for that (yet)
@mike-potter with the new setting useIssueImportAPI
it may be possible. @mdbenito did you test that?
Sadly, the issue import API does not allow setting the creator of an issue. The only solutions I know of are the two I listed (and I'm not sure about how the impersonation token would work)
Have you guys checked this?
That would be a very useful contribution! Can we expect a PR? 😃
Not my changes, all credits are for @valentinschabschneider from his repo. He should definitely be contacted. I personally tested those changes with great success.
@XabierGoros totally forgot about that repo 😅
Cool to see that @pelme is now implementing it properly 🎉
@valentinschabschneider I assume you already migrated your repos but a quick code review from you would be very helpful.🙏
There were a handful of merge conflicts to deal with, I hope I didn’t screw anything up 🙂
I have filled out the user mapping table between GitLab and GitHub usernames. However, when I migrate the MRs->PRs the owner of the PR in Github is always my own user and not the user from GitLab. Is there a way to fix that?