Feature/migrate legacy issues

OpenProject ticket: https://www.openproject.org/issues/1978