Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-71438

Check for trailing or leading white spaces before Issue import

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Issue Summary

      When importing Issues into a Project via CSV or JSON, if there is a trailing or leading white space, Jira will create a new entry for that element rather than merging with existing elements.  

      Steps to Reproduce

      1. Export Issues in a Project in CSV. 
      2. Add a whitespace before or after a value. 
      3. Import the Issues into Jira.  

      In the particular case that spurred this Suggestion, Issues were imported that had a whitespace preceding the Version.  Jira now shows two versions that have the same version number.  However, when rendering the versions on the page, the whitespace is disregarded by Java, and so the two identically-displayed versions are confusing to end users (they don't know why there are two identical versions displayed and cannot know which one to choose).  Different issues will be displayed under the two identical versions. 

      Expected Results

      Jira will disregard the extra whitespace and merge or map the values to existing values. 

      Actual Results

      Jira creates a separate entry for the value instead of merging the value into existing fields. 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            Unassigned Unassigned
            samann Sarah A
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: