This guide explains why certain Jira Server/Data Center to Cloud migrations may fail due to issues with security schemes and how to resolve the issue.

Cause of Migration Failure

If issue security schemes are applied to issues during a Jira migration, they can cause the migration to fail.

  • Xray 7.7.0 and later: Migrations can proceed even if up to 100 issues are missing, preventing unnecessary failures.
  • Earlier Xray versions: The migration fails if even one issue is missing due to security restrictions.

However, the migration will fail if:

  • More than 100 missing issues exist. ( Missing issues can be the ones that have Issue Security Scheme or the ones that were created during the migration)

Issue security schemes must be removed from projects before the migration to avoid migration failures. To ensure all issues are accessible, set them to "Any logged-in user."

Error Message

When checking the migration logs in Xray Cloud, the Support team will encounter an error similar to the following:

Error: Error updating Test Execution 10652 in Jira: Issue not found in Jira
Error updating Test Execution 11141 in Jira: Issue not found in Jira
Error updating Test Execution 11163 in Jira: Issue not found in Jira
Error updating Test Execution 10771 in Jira: Issue not found in Jira

If too many missing issues are detected, the migration process stops:

Exceeded skip migration errors limit (current: 100.5, limit: 100)

To maintain data integrity, Xray enforces a limit on missing issues. Once this threshold is exceeded, the migration will fail.

Solution

To prevent this issue:

  1. Remove issue security schemes from projects before migration. Or, set issue security to "Any logged-in user."
  2. Run the migration again.

For guidance on modifying issue security schemes, refer to Atlassian’s documentation: Configuring issue-level security