It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I add a numeric field that allows to search using the operator "<=" and ">=" ?

What I want to achieve:

  • Allow the users to enter a numeric value (between 1 to 100) in fieldA (custom field) of their tasks.
  • When I go to 'Issues and filters' I should be able to select that particular fieldA and set a range say 10 to 80. This should show me all the tasks that have value in fieldA that falls between that range.

 

I have tried numeric field but it does not support the operators >= , <= and = 

I have also tried 'select list (single choice)' custom field. It also does not support the operators.

 

Please suggest a solution for this.

2 answers

1 accepted

1 vote
Answer accepted

Are you sure your number field has proper search template? 

Go to custom fields, find your field, press cog icon and then edit.

"Number seracher" should be chosen.

@Ilya Turov Thanks. Let me give it a try and get back to you.

@Ilya Turov 

Thank you.

I noticed that the default value for a number field's search template is 'number searcher' and when I changed it to 'number range searcher' it solved my issue and I was able to search by range.

not exactly what I meant originally, but glad the direction I gave you was correct

0 votes

Hello,

Number field do support <= and >= operators. Could you provide a screenshot with the error?

You are correct. Since I had search template as just 'number searcher' it was not working. I followed @Ilya Turov suggestion and it worked.

Thank you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

314 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you