33
votes

In JIRA, how do a find all issues related to a user, across all projects.

A simple query search yields only full text results. i.e. only issues where the name is mentioned and not if the name has been assigned, has reported, has been cc’d etc.

My intention here is to find tickets related to me for stock accounting.

I'm using JIRA 3.13.

7

7 Answers

61
votes
assignee = currentUser() OR assignee was currentUser() OR reporter = currentUser()

This will suffice the query

9
votes

Just had the same 'stock accounting' use case: If you like to get an overview of the issues where you were involved to, just go to the profile page of your user, and hit 'Activity'. All tickets you had been working on are displayed.

This seems to be an alternative for all who are also not able to do a query like

assignee was currentUser()

because their Jira does not support history searches on that field (like ours here).

5
votes

Like Greg mentioned, you can use the "FIND ISSUES" -option. By default, you can only do searches by the issue reporter or by the assignee. But if your Jira installation has the Jira Toolkit plugin installed, you can run a search by participant. This is a good feature if you need to find the issues which you have helped to resolve, but aren't anymore assigned to you.

3
votes

Click on Issues on the top, click New on the left bar.

Now, choose the reporter and assignee. Then switch to Advanced search.

Then you can change the AND to an OR and do the search.

e.g.

assignee = currentUser() OR reporter = currentUser()

(it would have been AND by default)

1
votes

You should be able to use the "FIND ISSUES" option across the top bar, select "New" to create a new filter (which by default spans all projects), and select your name from the relevant "Issue Attributes" dropdown boxes.

0
votes

In JIRA, I need to find really all issues related to a user (me) including comments, assignee, reporter, watcher and status updates.

I've used filters with JQL and next query:

status changed BY currentUser() OR reporter = currentUser() 
OR watcher in (currentUser()) OR assignee = currentUser() 
OR assignee was currentUser() OR commentedByUser = currentUser() 
ORDER BY updated DESC
  1. Open filter page:

JIRA Filter

  1. Switch to JQL Switch to JQL button

  2. Enter query and click Search button. enter image description here

-2
votes

Open the JIRA web application/site in your browser and navigate to Issues (in header) > Search for issues, then enter your search criteria.