Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Using comparison JQL between two fields

Hi, Sir.

I want to find issues by using comparison operators.

The (custom) fields are both numbers, so my JQL is basically like "A(field)" > "B(field)"

but it doesn't work.

It only works when comparing two things between one of the fields and a number, for example "A(field)"<1000.

what should I put more to make it work?  here "A(field)" > "B(field)"

Thank you for your support!



2 answers

1 accepted

1 vote
Answer accepted
Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Nov 14, 2023

Hi @yirang Im

this isn't possible in plain JQL. What you could do is to use Jira Automation to calculate 

"A(field)" > "B(field)"

for your issues and write the result into a custom field, and then use the custom field in your JQL query.

Hope this helps,



Like Marc Koppelaar likes this
0 votes
Marc Koppelaar
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.
Nov 14, 2023 • edited

Hi @yirang Im 

There is no such option in JQL, to compare fields.

Thank you! 

Like Marc Koppelaar likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events