Hi! I think there might be a slight misunderstanding in the JQL you're suggesting.
The query assignee != currentUser() AND status CHANGED TO Done BY currentUser() is valid, but it only finds issues where the current user transitioned the issue to Done, even though they were not the assignee. It does not tell you whether the user merged the related pull request — which is a different kind of action.
What the original question seems to ask is: How can I find issues that are assigned to someone else, but I was the one who merged the code (for example, the pull request)?
This is related to development activity, not Jira workflow transitions. Unfortunately, standard JQL doesn't allow filtering by who merged the PR unless you're using specific apps, APIs, or automation rules.
If Jira is integrated with Bitbucket, GitHub, or GitLab (via DVCS integration), you can view this info in the development panel on each issue, but it's not searchable via default JQL.
A common workaround is to use automation: create a rule that triggers when a PR is merged, checks who merged it, and adds a label like merged-by-me to the issue. Then you can filter with a simple JQL using that label.
Alternatively, you can use your Git hosting platform to find PRs you merged, then identify the linked Jira issues.
So in summary: the JQL you suggested works for workflow changes, but it doesn’t cover code merges — which was likely the actual intent of the question.
Hope this helps clarify things!
Hi!
Unfortunately, standard JQL doesn't allow filtering by who merged the PR unless you're using specific apps, APIs, or automation rules.
If Jira is integrated with Bitbucket, GitHub, or GitLab (via DVCS integration), you can view this info in the development panel on each issue, but it's not searchable via default JQL.
A common workaround is to use automation: create a rule that triggers when a PR is merged, checks who merged it, and adds a label like merged-by-me to the issue. Then you can filter with a simple JQL using that label.
Alternatively, you can use your Git hosting platform to find PRs you merged, then identify the linked Jira issues.
So in summary: the JQL you suggested works for workflow changes, but it doesn’t cover code merges — which was likely the actual intent of the question.
Hope this helps clarify things!
ScriptRunner Enhanced Search may be able to assist in this, as it really extends the language you can use to search and filter for. I use this for tracking changes from one sprint to another and by user - it could be just what you need.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Become an effective Jira admin
Manage global settings and shared configurations called schemes to achieve goals more quickly.
Streamline Jira administration with effective governance
Improve how you administer and maintain Jira and minimize clutter for users and administrators.
Learning Path
Become an effective Jira software project admin
Set up software projects and configure tools and agile boards to meet your team's needs.
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.