Imported Issue should contain Linked Items associated with it
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Update
This has been first reported as a bug, however it's a missing feature - project import/export does not import issues linked items. Similar feature request for direct transfer: Migrate issue's link items (#392733)
Summary
I exported 2 projects on gitlab.com that I try to import in a self-hosted gitlab instance. Everything seems to be imported, except for the metadata (that seems to be there, inspecting the exported data) that links issues (between the 2 projects).
Steps to reproduce
- Observe an issue in project 1 being linked to an issue in project 2
- Export project 1 on gitlab.com
- Export project 2 on gitlab.com
- Import project 1 on self hosted
- Import project 2 on self hosted
- Observe an issue in project 1 being no longer linked.
What is the current bug behavior?
- Issues are no longer linked in self hosted environment while they were linked before.
What is the expected correct behavior?
- Issues should be linked as they were on gitlab.com
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 14.3.0 ? ... OK (14.3.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes (cluster/worker) ... 1/1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Checking Reply by email ...
IMAP server credentials are correct? ... Checking xxxx@gmail.com yes Mailroom enabled? ... skipped MailRoom running? ... skipped
Checking Reply by email ... Finished
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units) Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has neither init script nor systemd units) Projects have namespace: ... 2/1 ... yes 10/2 ... yes 10/3 ... yes 10/4 ... yes 10/5 ... yes Redis version >= 5.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.5) Git user has default SSH configuration? ... yes Active users: ... 5 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished