Forums

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

Search for issues between two date filters in JIRA 7.2

Ezekiel Udoh November 23, 2018

I am trying to search for all the issues resolved a few days after they were created. Something like:

project = 'ABC' AND resolutionDate > (createdDate - "10d")

Any idea how to achieve this? I will appreciate some help with this.

3 answers

1 accepted

1 vote
Answer accepted
Alexey Matveev
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.
November 23, 2018

Hello,

You could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation

Your JQL query would look like this:

key in silJQLExpression("resolutionDate > created + \"10d\"", "project = ABC")

Ezekiel Udoh November 23, 2018

Hello Alexey, thanks for the suggestion. I installed the add-on and did a re-index. Seems JIRA cannot still recognize the sil function. The error I am getting is 

"Unable to find JQL function 'silJQLExpression(resolutionDate > created + "10d")'."

Alexey Matveev
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.
November 23, 2018

Go to add-ons -> Manage add-ons. Find Power Scripts and enable all modules:

Screenshot 2018-11-23 at 18.31.02.png

Ezekiel Udoh November 28, 2018

Hello Alexey, it worked! I can see results now. Really appreciate the help.

Alexey Matveev
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.
November 28, 2018

You are most welcome!

Ezekiel Udoh November 29, 2018

Hello again Alexey,

I am trying to modify this query to search across a number of projects. It is not returning any results, however.

key in silJQLExpression("resolutionDate > created + \"10d\"", "project in (ABC, DEF, GHI, KLM)")

Any idea what it is I am missing?

Alexey Matveev
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.
December 2, 2018

It is strangle. Are you sure such issues exist in these projects?

Ezekiel Udoh December 7, 2018

They do! But I will look for another way to identify them. Let me search around the existing community issues.

0 votes
Sreenivasaraju P
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.
November 23, 2018
0 votes
Sreenivasaraju P
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.
November 23, 2018

Suggest an answer

Log in or Sign up to answer