Forums

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

Jira Filter: show values who's sum of that value in the result is greater than 1?

David
Contributor
November 8, 2019

I have scriptrunner installed, is it possible to have a filter that returns all the values for a field but omits results when the sum of that value is only 1?

Say the field is fruit

The values returned are:

apple

apple

pear

pear

grapes

 

I would look to drop or not show grapes because there is only one result.

 

Anyway to do this?

1 answer

1 vote
Ivan Tovbin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 9, 2019

Hi,

A scripted field seems to be the solution here. If you could explain your use case (what data you have and how exactly you want this to work), I might be able to help you with the code.

Suggest an answer

Log in or Sign up to answer