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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

How to filter to issues that were resolved after their due date?

Edited
Michael
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.
Jun 01, 2023

Hi all,

I'm trying to setup a filter which only pulls in issues that were resolved / have resolution dates after their due date. I'm pretty knowledgable with JQL, but I just can't figure it out.

I am using the default system "Due Date" and "Resolved" fields for this filter. (No custom fields are involved)

Can someone please help me?

Thanks,

Mike

 

2 answers

1 accepted

0 votes
Answer accepted
Sushant Verma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 01, 2023

Hi @Michael 

Welcome to the community!

Unfortunately, there is no way to query this kind of things using out of the box features. There is an issue open for this that you can watch or vote for: JRASERVER-20727  

However, I believe using Script Runner for Jira you can  compare dates with a JQL query like this:

issueFunction in dateCompare("", "resolutionDate > dueDate")

Regards,
Sushant Verma

Michael
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.
Jun 01, 2023

Hi @Tim Perrault & @Sushant Verma ,

We do have scriptrunner. Is there a way that the above JQL function can be avaiable to specific users / groups so they can create an issue filter / dashboard gadget off of it?

Thanks,

Mike

Sushant Verma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 01, 2023

@Michael  Yes, user can use that function and save the filter using the mentioned JQL.

These JQL Keywords can be used in the Issue Search screen when searching in Advanced mode.

Hope it will help you!

Regards,
Sushant Verma

I could get the Due Date crossed items with this

issueFunction in dateCompare("", "resolutionDate > dueDate")

 

Is there a way that we can know and list by how many days the Due Date has been crossed?

 

Regards

Deepika 

0 votes
Tim Perrault
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.
Jun 01, 2023

Hi @Michael 

Do you by chance have scriptrunner? If you do they have a JQL function that would be able to do it.

issueFunction in dateCompare("", "resolutionDate > dueDate")

 

That is the only thing I can think of off the top of my head.

Michael
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.
Jun 01, 2023

We do have scriptrunner. Is there a way that the above JQL function can be avaiable to specific users / groups so they can create an issue filter / dashboard gadget off of it?

Thanks,

Mike

Tim Perrault
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.
Jun 01, 2023

As long as SR is installed any user can use that function. Unless admins specifically turned off features in the plugin. Simple JQL should start returning the issues you need. 

project = xxx AND issueFunction in dateCompare("", "resolutionDate > dueDate")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events