Hi Community,
I'm trying to count unique assignees in child issues using Jira Automation. I have a custom field (customfield_18610) that stores assignee usernames separated by commas. For example:
adminbr,Diego,Diego
I want to count the number of unique assignees and store that value in another field. I’ve tried the following expressions, but they always return 0:
{{issue.customfield_18610.split(",").distinct.size}}
In this case, the expected unique count should be 2, since Diego appears twice but should only be counted once.
Is there a way to properly transform this field into a list and count the unique values using distinct or any other method in Jira Automation?
I’d appreciate any help or suggestions!


