If any project contains the non-ASCII character U+2028 in its name, the CSV External Import won't load any project names.

XMLWordPrintable

    • 1
    • Minor
    • 0

      Issue Summary

      If any project contains the non-ASCII character U+2028 in its name, the CSV External Import won't load any project names.

      Character: https://www.compart.com/en/unicode/U+2028

      This ticket is being opened in the MIG project for the following reasons:

      • The component "Jira - Import - From External System" is configured in this project
      • We should catch non-supported non-ASCII characters like the one causing this issue during site/project imports

      Steps to Reproduce

      1. Rename any project by adding the above character to the project name
      2. Navigate to System > External System Import
      3. Select CSV option
      4. Upload a csv and click Next
      5. Notice the project select doesn't list any options and typing any option manually displays "Invalid option"

      Expected Results

      Project names are displayed (regardless of a project name containing a non-supported ASCII character)

      Actual Results

      • Projects are not displayed in the project selector dropdown
      • Error message
        batch.js?locale=en-GB:2296
        
        Uncaught Error: AJS.Descriptor: expected property [label] but was undefined
        at Boolean.<anonymous> (batch.js?locale=en-GB:2296:364)
        at Function.each (batch.js?locale=en-GB:284:11470)
        at r._validate (batch.js?locale=en-GB:2296:288)
        at r.init (batch.js?locale=en-GB:2296:111)
        at r.init (batch.js?locale=en-GB:2463:186)
        at r.init (batch.js?locale=en-GB:2290:611)
        at new r (batch.js?locale=en-GB:2290:207)
        at com.atlassian.jira.plugins.jim-plugin:projectMappingsPage.js:124:17
        at Array.map (<anonymous>)
        at E.map.E.collect (batch.js?locale=en-GB:1384:1409)
        

      Workaround

      The workaround is to rename the offending project(s) and remove the unsupported character.

      However, finding the projects is difficult as it requires database access, it's possible on Server/DC but not on Cloud: https://confluence.atlassian.com/jirakb/csv-importer-screen-does-not-list-any-projects-1005790911.html

            Assignee:
            Unassigned
            Reporter:
            Dorian Davis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: