JIRA: Find all issues related to a user
Asked Answered
B

8

40

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.

Belsen answered 19/8, 2010 at 3:53 Comment(0)
R
73
assignee = currentUser() OR assignee was currentUser() OR reporter = currentUser()

This will suffice the query

Ruscher answered 2/8, 2012 at 14:49 Comment(5)
Sorry, I am new to JIRA. I'm looking at the web interface and I have no idea how I would make this work. Is there some place where I c+p this? Could you provide some additional instructions? Your answer seems magical and mystical. I've whispered these incantations to the server but no luck so farJoel
@Joel When seeing a list of issues, press "Edit" on the left sidebar to edit the query.Ruscher
Not really sure how that differs from "find all issues related to a user", certainly if a user is a watcher on a ticket, then they are related to that ticket, no?Somerville
Go to search page by browsing to /browseSalsala
Add OR worklogAuthor = currentUser() for issues you logged on but was never assigned toCarapace
P
9

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).

Poetry answered 18/1, 2013 at 13:33 Comment(0)
M
5

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.

Meteorograph answered 19/8, 2010 at 4:35 Comment(0)
M
5

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)

Matchless answered 11/1, 2012 at 7:2 Comment(0)
K
4

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

Kaveri answered 11/3, 2020 at 16:42 Comment(0)
S
1

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.

Soilasoilage answered 19/8, 2010 at 4:4 Comment(1)
The problem with this kind is that it’s an AND condition and not OR. I can’t search for “Reporter” OR “Assignee” OR “CC” ..Pylorectomy
U
0

If you need a hammer:

watcher = currentUser() OR assignee = currentUser() OR assignee was currentUser() OR creator = currentUser() OR reporter = currentUser() OR comment ~ currentUser() OR text ~ currentUser() OR summary ~ currentUser() OR description ~ currentUser() ORDER BY updated DESC

You could limit to some days:

updated > -365d AND (watcher = currentUser() OR assignee = currentUser() OR assignee was currentUser() OR creator = currentUser() OR reporter = currentUser() OR comment ~ currentUser() OR text ~ currentUser() OR summary ~ currentUser() OR description ~ currentUser()) ORDER BY updated DESC

Utmost answered 2/6, 2023 at 10:25 Comment(0)
P
-2

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

Planimetry answered 21/4, 2017 at 8:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.