Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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) Edited

Hello,

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

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: https://community.atlassian.com/t5/Questions/JQL-JIRA-query-for-custom-field-being-equal-to-two-other-custom/qaq-p/44808

Best, 

Maarten

Maarten,

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)?

Regards,

Dominik

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

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

Suggest an answer

Log in or Sign up to answer
TAGS

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