Searching for issues that were not completed on time

Hi JIRA experts,

How can I get the list of issues that were not completed on time?

I tried the query below, but I am getting an error message

status = Done and due > resolved

Date value 'resolved' for field 'due' is invalid. Valid formats include: 'YYYY/MM/DD', 'YYYY-MM-DD', or a period format e.g. '-5d', '4w 2d'.

Thank you in advance

2 answers

1 accepted

The query you made doesn't respect the syntax, like the error tells you. In JIRA out of the box, you can't compare the results of two functions like that, unfortunately.

A quick, low-technology fix would be to export a query of your Done issues to Excel and do the comparison there.

Otherwise, that sounds like something you could script in a custom JQL function using the Scriptrunner plugin.

Thank you for your prompt response. I knew that I was not respecting the systax but I had the hope that It would be an alternative to compare both fields like in other technologies such as SQL. Anyways, I really appreciate your help. I will take a look at the Scriptrunner plugin.

Cheers!

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

135 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you