Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-5900

When migrating from Cloud to Server, the Request Type icons are different and cause a lot of errors

    XMLWordPrintable

Details

    Description

      Issue Summary
      • When migrating from Cloud to Server, the Request Type icons are different and cause a lot of errors
      Steps to Reproduce
      1. Install Service Desk in Cloud
      2. Create one or more Service Desk projects.
      3. Create an XML Backup for Server
      4. Restore the XML Backup on JIRA Server.
      5. Go to the SD projects and see the Queues or the Request Types.
      Expected Behavior
      • The icons for the request types are shown correctly.
      Actual Behavior
      • There are several broken icons:
      • Each broken icon throws a logging error, flooding the log files pretty quickly with a File not found error:
        2018-01-26 14:00:41,130 http-nio-8080-exec-22 ERROR      [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=a375e86d-abab-4188-aa71-b262a5ddd0d2, interpretedMsg=, cause=java.io.IOException: File not found, stacktrace=java.io.IOException: File not found
                at com.atlassian.jira.avatar.AvatarManagerImpl.getAvatarInputStream(AvatarManagerImpl.java:388) [classes/:?]
                at com.atlassian.jira.avatar.AvatarManagerImpl.lambda$processAvatarData$0(AvatarManagerImpl.java:367) [classes/:?]
      Cause
      • There are system Request Type icons in Cloud that don't exist in Server (select * from avatar where avatartype = 'SD_REQTYPE') Difference Request types Cloud vs server.xlsx. When an XML backup is generated, the references to the icons and the issues that use them are include in the data. There are about double the icons in Cloud than in Server. Even though the missing icons are considered 'avatars', the request type icons are not included in the 'avatars' directory, possibly because the files are actually inside the jira-servicedesk-xx.yy.zz.jar file (at least on Server side), in the directory img/request-type-icons (you can find them extracting the content of the jar file with a compression tool), so when generating the Export file from Cloud, the avatars/icons for the request types are not include din the 'avatars' directory.
      Workaround
      • None

      Attachments

        1. Request types Cloud vs server.xlsx
          22 kB
        2. screenshot-1.png
          screenshot-1.png
          81 kB
        3. screenshot-2.png
          screenshot-2.png
          152 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rchiquete Rene C. [Atlassian Cloud Support]
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: