Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-76168

Unable to import issues via CSV if the workflow "Create" transition checks for Jira expressions

XMLWordPrintable

      Issue Summary

      Some Jira Expressions, when used on the 'Create' transition in, say, validators or conditions in a workflow are unable to find fields when they are not set.

      This is strangely not happening when tickets are created, but affects import of issue via CSV.

      Steps to Reproduce

      1. Use Jira expressions on workflow create transition
        Example:
        (issue.customfield_10200 == null || [1,2,3,4,5].includes(issue.customfield_10200)
      1. Try to import issues via CSV

      Expected Results

      If the Jira expression returns true, the CSV import operation succeeds and issue is created.

      Actual Results

      The CSV import operation fails
      Error: Error when transforming object to bean

      Workaround

      Remove the Jira expression validators in the workflow Create transition to perform the import.
      If Jira expression is used via ScriptRunner, disable the validator and import the issues.

              Unassigned Unassigned
              b678926ca497 Bopanna
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: