Trying to Migrate the GitLab self Manged into GitLab SaaS

General question what i has is if we migrate the Gitlab self managed project into Gitlab Saas whether we are able to get the pipeline history as well or only the files.