Breadcrumbs

Count comment authors

๐Ÿ“š

This template displays the number of users who authored a comment in the current work item. Each user is only counted once.

Configuration

To use the Count comment authors template, simply select it from the template grid. Filter by Comments to find it faster.

Parameters

This template does not require any additional parameter configuration.

Expert mode

If you switch to Expert mode you can see the Smart field in the Expression Parser. You can now tweak the expression to create a custom smart field based on this template.

Expression

Jira expression:

issue.comments.map(comment => comment.author.displayName).reduce((a, b) => a.includes(b) ? a : a.concat(b), []).length

Display as

Number

Formatting style

Default (unformatted)