Is it possible to make a JQL query that compares dates?

Antoine Goutagny March 26, 2012

I would like to make a query that, in a specific project, returns issue that have been updated after the issue has been marked "resolved". I tried the following:

project = "Jira Support" and updated > resolved

But that returns an error: Date value 'resolved' for field 'updated' is invalid.

Is there any way to make that query?


2 answers

1 accepted

0 votes
Answer accepted
JamieA
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.
March 27, 2012

There are workarounds, depending on how dirty you want to get your hands.

For example @Dieter made a suggestion to solve pretty much the same problem here: https://answers.atlassian.com/questions/37374/does-jira-provide-a-view-or-report-that-show-issue-history-changes-for-multiple-issues?page=1#37948, or you could write your own JQL function plugin to do it.

Dieter
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.
March 27, 2012
Dear heaven, i forget my own answers ;)
0 votes
Dieter
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.
March 26, 2012
Looks like this is still an open issue : https://jira.atlassian.com/browse/JRA-20727
Dieter
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.
March 27, 2012
So what Jamie suggests is to implement a scripted custom field that returns 1 if Updated > resolved and then search for all issues with value = 1
JamieA
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.
March 27, 2012

That's what I'm suggesting Dieter would suggest if he remembered his answers ;-)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events