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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

70 views 0 5
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