Via the custom item types it is possible to change the visibility of the custom fields per item. But we also need to control the visibility of custom fields depending on the selection of other custom fields and/or folder membership. Jira has a function like this.
Example: I have a Project and select "yes" in a custom single select field. Afterwards 3 more cutom fields should become visible and must be filled.