Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to write a jql query to find issues having due date after the resolution date. How to write

Sanchit Kshirsagar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 21, 2020

In a project, we have stories with due date field and resolution date field at story level.

The story completion is due on xxx date. The resolution date however is some other yyy date. 

I want to compare whether due date xxx is how many days earlier or later from the resolution date yyy.

What jql query we can write.

 

1 answer

1 accepted

1 vote
Answer accepted
Jack Nolddor _Sweet Bananas_
Atlassian Partner
March 21, 2020

Hi Sanchit,

Sadly there is no way to query this kind of things using out of the box features. However, I believe using Script Runner for Jira you can type the following JQL within the advanced search:

issueFunction in dateCompare("project = 'My project' AND type = Story ", "resolutionDate > dueDate")

Regards

Sanchit Kshirsagar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 21, 2020

Hello Jack, is script runner Available for enterprise version like ones adopted by the big companies and they using JIRA for the project management purpose?

Jack Nolddor _Sweet Bananas_
Atlassian Partner
March 22, 2020

Yes, is available on both Server and Data Center deployment options :)

Suggest an answer

Log in or Sign up to answer