Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I count the number of entries in my custom field?

Joe Starling
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2020

I've inherited (I didn't write it) a plugin which uses custom field values to search for, and then display information from another service (zendesk) on a tab in the default screen of an issue. 

The field's raw values are a list of numbers e.g.

IDs: 1234, 1235, 1236

I now need a way to count how many 'IDs' there are (so above example would be 3) and then order a filter based on the number of IDs. 

Is this possible? any hints?

This question is similar to https://community.atlassian.com/t5/Jira-Software-questions/Count-or-Sum-of-Custom-Field/qaq-p/241861, but I don't believe JRASERVER-30907 really covers the same thing? 

 

Do I perhaps need to make a new hidden field which counts the number of entries, and then search on that, or do I need to modify the plugin? Any help appreciated, thanks!

0 answers

Suggest an answer

Log in or Sign up to answer