Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
Xray DC - v7.11.1
-
None
-
This seems to be only affecting Jira 10
The following stacktrace can be seen:
Caused by: java.lang.RuntimeException: Attachment with id 1 not found for issue 10000 at com.xpandit.raven.attachment.RavenAttachmentUtils.getAttachmentFile(Unknown Source) at com.xpandit.raven.attachment.RavenAttachmentUtils.getAttachmentFile(Unknown Source) at com.xpandit.raven.appmigration.service.AttachmentMigrationService$a.a(Unknown Source) at com.xpandit.raven.appmigration.service.AttachmentMigrationService$a.a(Unknown Source)
This seems to be only affecting Jira 10 The following stacktrace can be seen: Caused by: java.lang.RuntimeException: Attachment with id 1 not found for issue 10000 at com.xpandit.raven.attachment.RavenAttachmentUtils.getAttachmentFile(Unknown Source) at com.xpandit.raven.attachment.RavenAttachmentUtils.getAttachmentFile(Unknown Source) at com.xpandit.raven.appmigration.service.AttachmentMigrationService$a.a(Unknown Source) at com.xpandit.raven.appmigration.service.AttachmentMigrationService$a.a(Unknown Source)
Description
Description
Server-to-Cloud migration will get stuck if any of the projects in the migration has an attachment that's missing from the file system.
How to reproduce
- Create a new project
- Create a new Test with one step
- Add an attachment to the step
- Delete the attachment from the file-system.
- Run a migration for that project.
Actual result/Attachments
The migration gets stuck while moving attachments.
Expected result
The migration completes as usual, and the attachment is reported as missing.
Version
- 7.11.1
- Jira 10