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

1 vote
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,787 views 18 22
Read article

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