Index may cause issue during CSV import. It happens when there is project with single issue type only and there is required custom field with Context set to that project. During manual creation is everything OK.

      Replication

      1. Create new JIRA project, with exactly one issue type.
      2. Add new custom field. And restrict context for that issue type.
      3. In project Issue Field Configuration scheme set all fields to optional, except Sumary (It is mandatory to have it mandatory) and the new custom field.
      4. Create issue normally - it works
      5. Create issue by CSV import - Import fails because that field is always treated as null.

      Note: Because there is only single issue type, import wizard do not offer Issue Type for mapping. My theory is that importer checks context before it actually applies issue type - automatically.

      Workaround: Set context into project instead of Issue type.

            [JRASERVER-41584] CSV Import for restricted custom fields

            Lani Morton added a comment - - edited

            6.4.6 is affected as well. When utilizing the import option from Issues -> Import Issues from CSV, the following fields that it errors out on are present in the CSV, but when validating or attempting to import, I get the following errors:

            The value [

            {null=Regression} ] can't be added to the Custom Field [ Bug Type ]. The value [ {null=Regression}

            ] can't be found or is in the incorrect format

            and

            The validation process has found 1 error/s
            Issue can't be created due to the error/s [ Affects Version/s is required.; Bug Type is required. ]

            Bug Type and Affects Version/s field are required.

            Lani Morton added a comment - - edited 6.4.6 is affected as well. When utilizing the import option from Issues -> Import Issues from CSV, the following fields that it errors out on are present in the CSV, but when validating or attempting to import, I get the following errors: The value [ {null=Regression} ] can't be added to the Custom Field [ Bug Type ]. The value [ {null=Regression} ] can't be found or is in the incorrect format and The validation process has found 1 error/s Issue can't be created due to the error/s [ Affects Version/s is required.; Bug Type is required. ] Bug Type and Affects Version/s field are required.

            This also affects 6.3.12

            Deleted Account (Inactive) added a comment - This also affects 6.3.12

              Unassigned Unassigned
              99a94f5f924d Petr Nový
              Affected customers:
              7 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated: