You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.