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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is there a way to create a JQL filter that compares 2 date fields, e.g. Duedate < Resolved

Tony Giovenali
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 19, 2023

I am trying to filter for Bugs that were Resolved (marked as Done) after their Due Date. Is there a JQL query for this 

project = "myproject" AND issuetype = bug AND status = Done AND duedate < resolved ORDER BY issuekey ASC

1 answer

2 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 19, 2023

Hi @Tony Giovenali and welcome to the community,

Unfortunately, you can't compare fields within the JQL.

What you can do, outside the box, is to use a JQL from an automation rule and compare the date field you want to another's date field smart value. E.g.:

project = "myproject" AND issuetype = bug AND status = Done AND duedate < {{issue.fields.resolved}}

The above can be accomplished, but as I mentioned only within an automation rule.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events