Use case

Return the mimetypes of the attachments.

Expression

Create and configure a Smart field using this expression in Jira expression parsing mode:

issue?.attachments?.reduce((result,att) => 
                result.set(att.mimeType,""),
            new Map()).entries().flatten().filter(entry => entry != "")