How to write query that will select only issues resolved by me.
I have found some old post that says its no possible, but it might have changed.
How to write query that will select only issues resolved by me.
I have found some old post that says its no possible, but it might have changed.
Use next JQL: status was resolved by "username"
status changed to Resolved by "daniel"
? 'Changed by' works for me instead of 'was'. –
Traver The answer most often given is to use JQL for something like
status was Resolved BY currentUser()
While all fine and good, this will give you back all the issues that you have ever resolved. That is, if you resolved issue FOO-1966 and then it got reopened and someone else resolved it again it is still an issue that was resolved by you.
Here's a better way to do this in JIRA 6 and later (including JIRA onDemand).
Now whenever someone resolves an issue using that workflow, the Resolver field will get set to the current user. Now the Resolver field is semantically "last resolved by".
As an added bonus, you can use the value in the Resolver field to reassign issues back to the person who resolved them when they get reopened. I'll leave this as an exercise to the reader. :-)
You can use this JQL query:
"Resolved by" = currentUser()
(I just verified this in v4.1.2#531 on a standalone version)
There is also a plug in you can use in older versions: https://studio.plugins.atlassian.com/wiki/display/JQLT/Home
Resolved by
is this custom field or out-of-the-box? I ask because in mine 4.2.1#b588 there seems to be no such field (I tried both simple and advanced search) –
Jidda cf[10038}
- here, cf
seems to denote custom field indeed –
Jidda JIRA (v4.1.2#531)
but this query does not work for me. Says Field 'Resolved by' does not exist. –
Chickenhearted None of the above worked for me on JIRA (v4.1.2#531)
However, his works:
"Resource" = currentUser() AND (status = Fixed OR status = Closed OR status = "No Change Required") ORDER BY updated
You can use the WAS operator:
JIRA - Advanced Searching : "The "WAS" operator is used to find issues that currently have, or previously had, the specified value for the specified field"
Example: status WAS "Resolved" BY currentUser()
For JIRA v6.3.4, this worked for me:
"Resolved By" = currentUser()
I guess you can use this
status in (resolved) AND component = COMPONENT_NAME AND assignee in (currentUser()) AND resolved > -1d
but the new thing here resolved > -1d
this to get the issues that are resolved me in this day
As far as I can tell, search for resolved by me and more generally, for status changes, is not possible until at least JIRA 4.2.1 (the version I'm using now).
Search and JQL enhancements outlined in 4.3 and 4.4 release notes look like the move in the right direction (WAS operator) but I'm not holding my breath.
None of the above solutions worked for me. I started adding a label to all my issues to resolved_by_kishore, then in advanced search, I'm using lables=resolved_by_kishore. It's working fine.
project = prohjectname AND status was "Resolved" by username and resolutiondate >= '2014/01/08'
and its variants exists in jql now i am not sure whether they existed at the time question was asked.
i am adding this answer so that if anyone comes here can find the answer
The values used in Status
can vary (e.g. Resolved, Closed, Done, ...) so it is not reliable to use.
Instead, use resolution
:
resolution changed from EMPTY by currentUser()
Using = EMPTY
seems to work for searching for empty custom fields with newer versions of Jira
© 2022 - 2024 — McMap. All rights reserved.
STATUS was REOPENED and PROJECT in (A, B, C) and STATUS was RESOLVED by "daniel"
works just fine... but is there a way to query something likeSTATUS was FIRST RESOLVED by ...
? That's what I'd need... – Nicely