diff --git a/application/forms/Config/FieldConfigForm.php b/application/forms/Config/FieldConfigForm.php index 8b29ee6..d738bf2 100644 --- a/application/forms/Config/FieldConfigForm.php +++ b/application/forms/Config/FieldConfigForm.php @@ -73,7 +73,10 @@ public function enumAllowedFields(): array foreach ($this->jira->get('field')->getResult() as $field) { if ($field->custom && in_array($field->schema->type, $fieldTypes)) { - if ($field->schema->type === 'array' && $field->schema->items !== 'string') { + if ( + $field->schema->type === 'array' + && (! isset($field->schema->items) || $field->schema->items !== 'string') + ) { continue; }