Hi JIRA experts!!
I have a JIRA project with my own workflows. The final state is done. Now I try to filter out all isses from the done column that were completed (i.e. moved to done) before today.
I am using the following filter (My Project is PRIV)
project = PRIV AND (resolved >= startofday() OR resolved is EMPTY) ORDER BY priority DESC
I expeted to get only open issues and those that were resolved today. However, I still get issues that were resolved yesterday.
Please find the error! ;-)
I found the following filter to be working:
project = PRIV AND NOT (status = Done and updatedDate < startOfDay()) ORDER BY priority DESC
Hi,
Do you specifically get only issues from yesterday?
Since you mentioned you have your "own" workflow, could you check the transition to status Done? Is the set resolution specified.
JQL seems fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I get all done issues.
Where do I see if the set resolution is specified?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the late reply.
in case you get all done issues you most propably forgot to set the post function.
go to the specific workflow, to the Done transition.
check the post functions. If none is specified for update resolution field add a new one
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried using status, instead of resolution? Something like:
project = PRIV AND (status changed to done after startofday() OR resolution is EMPTY)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no its not working. I am getting all the old issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Gezim points out "resolved" function operates off of the resolution being set and for sure you should work to have that occur whenever an issue is marked Done.
That said you could try this and I suspect it would work...
project = PRIV AND resolutiondate >= startofday() ORDER BY priority DESC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.