Import fail because services has blank password

Summary

Probably as a result of gitlab-ce#20802, passwords and tokens are not exported. But then, when trying to import, GitLab throws an error and refuses to import the project.

Example Project

See ZD: https://gitlab.zendesk.com/agent/tickets/99726 (internal)

Export is from EE

What is the current bug behavior?

Get this error when importing:

Error importing repository into project/path - Failed to replace services because one or more of the new records could not be saved. Password can't be blank

What is the expected correct behavior?

Project imports.

Current Workaround

As per @jameslopez, relevant service needs to be removed from project.json for import to work.

Possible Fix Idea?

Possible to not include the service in the json file at all? or have the importer ignore it/throw a warning that a service was detected by not imported because passwords/token are not included and they'll have to re-enable whatever services?

Similar? gitlab-ce#38364

I didn't see this under the larger gitlab-ce#42659 issue, so hope this isn't a duplicate.