Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I get all created, observed, assigned issue for currentuser in a filter ? Edited

I would like to have a filter that gathers all created, observed, assigned tickets for a user. 

I tried the following query but it doesn't work :

watcher = currentUser() OR assignee = currentUser() OR reporter = currentUser()  

 The result of watcher = currentUser() is 104 tickets.

The result of assignee = currentUser() is 4 tickets.

The result of reporter = currentUser() is 34 tickets.

But when i try to "sum" all theses queries, the result of it is only 105 tickets when i expect it to be 104 + 4 + 34 = 142 tickets.

Can you guys please help me and tell me what is wrong with my query ?

2 answers

2 accepted

1 vote
Answer accepted
Jack Community Leader Jun 16, 2021

It could be that the current user is in multiple fields such as Assignee watcher or reporter

Indeed it makes sense... Thank you very much for your help :)

0 votes
Answer accepted

@Thomas NICOLAS, how are you ?

In this regard, you should consider that normally

- Reporter can be watcher of a request

- Assignee can be watcher of a request

At this point there would be 38 issues as a watcher from the beginning If you want to test you could use JQL bellow

watcher = currentUser() AND !( assignee = currentUser() OR reporter = currentUser())

The result will probably be 67 issues, as in this JQL we are excluding everything that the currentUser is not assignee or reporter

Hi Carlos, thanks a lot for your answer.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

119 views 1 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you