The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JIRA: Filtering by resolution time

Archer
February 5, 2013

Hi there!

I'm trying to filter some JIRA issues by time of resolution, but can't seem to figure out how to do so.

I've looked everywhere for an answer, but haven't been able to find anything.

I was trying to find something along the line of "resolved = (created - 5m)", but JIRA doesn't seem to support such operations.

Can anyone help or direct me to a plugin and/or something else that'd be able to do such a thing?

Thanks!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 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 Champions.
February 5, 2013

You can try the jql functions in script runner plugin. You can use the expression function to do something like:

issueFunction in expression("", "created > resolutiondate - (5 * 60 * 1000)")

If by 5m you mean 5 minutes, then you have to expand to milliseconds as in my example, which makes it a bit ugly. You can use d or w for days/weeks (covered in the docs).

I need to make it so you can use resolved instead of resolutiondate...

Oh, use greater than or less than operators, not equals as in your question. Equals won't return any hits unless the issue was resolved the same millisecond it was created.