xmunoz / bugzilla2gitlab

An issue migrator
MIT License
32 stars 19 forks source link

Does not work without GitLab sudo #16

Closed link2xt closed 5 years ago

link2xt commented 5 years ago

bugzilla2gitlab requires sudo. As a result, it is only possible to use on own GitLab installations, but not https://gitlab.com/

The first POST request to https://gitlab.com/api/v4/projects/[gitlab_project_id]/issues fails with

{'message': '403 Forbidden  - Must be admin to use sudo'}

It is ok for me if all issues and comments appear to be posted by "bot" account, but it seems bugzilla2gitlab does not work this way even if I map all users in user_mappings.yml to my account.

xmunoz commented 5 years ago

Yeah, it would be a bit of a change to introduce this functionality. Feel free to send along a PR!