Use case

Return the display names of attachments' authors. Each name only appears once.

Expression

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


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