-
Bug
-
Resolution: Fixed
-
Low
-
None
-
1
-
Severity 3 - Minor
-
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
- Use Jira expressions on workflow create transition
Example:(issue.customfield_10200 == null || [1,2,3,4,5].includes(issue.customfield_10200)
- 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.