How do I count the number of listed values for a field?

Jon Jain May 11, 2021

I'd like to use automation to automatically update a field with the count of items selected within a multi-value list. I see that I can list the values with smart values, but how do I sum those into a count?  

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 11, 2021

Hello @Jon Jain 

Welcome to the community.

I found a post from @Abby Kaske  that mentions something that might work.

https://community.atlassian.com/t5/Jira-questions/Order-by-count-of-items-in-custom-field/qaq-p/1188981

{{issue.customfield_XXXX.size}}
Jon Jain May 13, 2021

yes this worked, thanks!

Suggest an answer

Log in or Sign up to answer