Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

comparison of two custom fields (number fields)



I need to compare two custom fields' values. If the transition is to be successful then field's A numeric value must be equal or greater than a value present in field B.

So far I can see that only dates can be compared - please advise me if it's possible to perform comparisons between numeric fields and if yes, where is it present (I can't find anything adeqaute under Conditions nor Validators...)


Many thanks,

Dominik Maciejewski

2 answers

Using Adaptavist's ScriptRunner, you can do this in JQL:

issueFunction in expression("","field1 > field2")

Doesn´t work to Jira Cloud.


Any suggestion?

0 votes

Hi Dominik, 

Unfortunately, by default this is not support but luckily there's a very cool addon that can help you get these type of things done. 

You can find more details on a similar question that has already been answered before:




Many thanks for confirming this to me, too bad I've spent nearly 2 days trying to do this via Option ID comparison in transition's Conditions tab...


P.S. What's the addon name? Is it Power Scripts for JIRA (formerly JJUPIN)?



Suggest an answer

Log in or Sign up to answer

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