Skip to content

`ci_cd_settings` and `project_feature` relations are not imported correctly via Project Import

Summary

When importing a project, the values for ci_cd_settings and project_feature relations are imported as the defaults, not from the exported project.

Note: It doesn't cause the whole Import to break, we just don't receive these values as we should.

The MR which introduced the issue: !18024 (merged)

Steps to reproduce

Open any project you own, disable group_runners (the only field we export/import for ci_cd_settings).
Export the project.
Then import it the resulted tar.
The setting for the group_runners will be turned on, which is the default, not the one we exported/imported.

What is the expected correct behavior?

Any relations listed in import_export.yml should be exported/imported accordingly.

Possible fixes

The fix: !20174 (merged)

Edited by Aleksei Lipniagov