Forums

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

JIRA filter where the result date is higher then the due date

Sven.H
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2018

Hello everybody,

We need the following filter.

Show me all issues from type subtask where the result date is higher then the due date.

 

How can I create this filter?

 Regards,

Sven

1 answer

1 vote
Mauricio Karas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 1, 2018

Hey, Sven. Thanks for reaching out to the Atlassian Community.

Currently, with JQL there's no way to compare two date fields, which I believe is what you'd need to do in this case. You can only compare a date field with a single fixed date, or with a function such as now(), currentLogin(), or lastLogin().

We have a feature request created for this functionality: 

Add ability to compare date fields using JQL

You can vote for it and make yourself a watcher to receive further updates.

As a workaround for this, if you have the ScriptRunner plugin, you will be able to use the following JQL and actually compare two fields as I've mentioned:

issueFunction in dateCompare("", "resolutionDate > dueDate")

You can check this link for further information on other ScriptRunner functionalities related to date fields.

Kind regards,
Maurício Karas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events