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

The CSV importer does not take into account already created custom fields which don't have the global context applied, but are applied to the projects which the CSV will import issues to

    XMLWordPrintable

Details

    • Bug
    • Resolution: Tracked Elsewhere
    • Low
    • None
    • None
    • None
    • None

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Hello Guys,

      The problem is somewhat simple to reproduce:

      • choose a CSV file to be imported, and in this CSV file there are values which would be stored by custom fields
      • before running the CSV import, manually create the custom fields, and associate the context to the project in which the issues will be imported (and not global context).
      • run the CSV import, and map the custom fields to existing custom fields.
      • in the end of the process, the issues will be imported, but JIRA will have created custom fields, with the same name and type, but in the Global Context (so there will be duplicated customfields).

      The stacktrace is:

      2011-10-13 18:33:07,001 JiraTaskExectionThread-1 WARN tfprisco 1113x155x1 r8vbmg 0:0:0:0:0:0:0:1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-6,5,main]] Custom field 'Filename' is not available for all projects. Can't use it, going to create a new one.
      2011-10-13 18:33:07,009 JiraTaskExectionThread-1 WARN tfprisco 1113x155x1 r8vbmg 0:0:0:0:0:0:0:1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-6,5,main]] Custom field 'AssetType' is not available for all projects. Can't use it, going to create a new one.
      2011-10-13 18:33:07,015 JiraTaskExectionThread-1 WARN tfprisco 1113x155x1 r8vbmg 0:0:0:0:0:0:0:1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-6,5,main]] Custom field 'Reporter Email' is not available for all projects. Can't use it, going to create a new one.
      2011-10-13 18:33:07,020 JiraTaskExectionThread-1 WARN tfprisco 1113x155x1 r8vbmg 0:0:0:0:0:0:0:1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-6,5,main]] Custom field 'FileMaker ID' is not available for all projects. Can't use it, going to create a new one.
      2011-10-13 18:33:07,027 JiraTaskExectionThread-1 WARN tfprisco 1113x155x1 r8vbmg 0:0:0:0:0:0:0:1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-6,5,main]] Custom field 'Source' is not available for all projects. Can't use it, going to create a new one.
      2011-10-13 18:33:07,034 JiraTaskExectionThread-1 WARN tfprisco 1113x155x1 r8vbmg 0:0:0:0:0:0:0:1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-6,5,main]] Custom field 'Title' is not available for all projects. Can't use it, going to create a new one.
      2011-10-13 18:33:07,046 JiraTaskExectionThread-1 WARN tfprisco 1113x155x1 r8vbmg 0:0:0:0:0:0:0:1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-6,5,main]] Custom field 'School' is not available for all projects. Can't use it, going to create a new one.
      

      So, the custom field needs to be added to the global context for the CSV import to work?

      Cheers

      Thiago Prisco

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tfprisco Thiago Fagundes Prisco [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: