Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

filter for show all tickets to currentUser and tickets added to a team where currentuser is part of

Nicole Radle April 19, 2024

Hi folks,

I would like to create a filter to show all tickets to the currentUser and also the tickets assigned to a team where currentuser is a part of.

Any ideas?

Thanks
Nicky

2 answers

0 votes
Ragavendran S
Contributor
April 20, 2024

If you expect

Either the issue assigned to current user or where the current user is a part of, we can use the JQL advised by @Dick 

 

But if you want to filter the issues, which needs to satisfy both, 

  1. It has to be assigned to a team (Team A)
  2. and It has to assigned to the currentUser

Then we should use this one

project = "Team A" and assignee = currentUser()

0 votes
Dick
Community Champion
April 19, 2024

Hi Nicky,
It depends a bit how your teams are organized. If your teams each have a Jira Project, it would look something like:

 

project = "Team A" or assignee = currentUser()


Nicole Radle April 23, 2024

Hi Dick,

thanks for your reply.

We have different projects, cause one team managed more customers.

I hoped of a JQL like

currentuser() is membersOf("Team[Team]"= 7b47bb33-fd48-4e3b-997d-40c666630697) or assigne is currentUser()

but my cloud instance doesn´t support membersOf()

Dick
Community Champion
April 26, 2024

Hi Nicole,
As per this link, the team you want to check against needs to be a user group. Syntax is given there as well.

:)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events