Something goes wrong when checking whether the reference field of a type is a number or not and the function breaks whenever 2 or more reference types are present.
Problem is fixed and everything works
Changed the Jira Workflow from DATAGERRY -> DATAGERRY 2.0