Use case

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

Expression

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

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



Feature

Field typeSmart text field
Parsing mode

Jira expression

Expression
issue.comments.reduce((result, comment) => 
            result.set(comment.author.displayName, ""), 
            new Map()).entries().flatten().filter(entry => entry != "")
Label
Use case description

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

Complexity