I have set of users in Team A and Team B. I want to extract issues logged by Team A members only

Anandh April 24, 2015

In Team A there are around 10+ Users and in Team B also there are around 10+ Users. I want 5 queries for the below use cases.

  1. I want to pull the issues logged by Team A (+/-10 Users) . 
  2. I want to pull the issues logged by Team B 
  3. I want to pull the issues logged by Team A and Team B
  4. I want to pull the issues logged by Team A  but not by Team B
  5. I want to pull the issues logged by Team B  but not by Team A

1 answer

0 votes
Udo Brand
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2015

Out of the box you have two choices. First (if your teams represents groups) is to use the membersOf function

  1. Reporter in membersOf("TeamA")
  2. Reporter in membersOf("TeamB")
  3. Reporter in membersOf("TeamA") or Reporter in membersOf("TeamB")
  4. Reporter in membersOf("TeamA") and not Reporter in membersOf("TeamB")
  5. Reporter in membersOf("TeamB") and not Reporter in membersOf("TeamA")

(4 and 5 makes only sense if some users are in both teams otherwise your reporter belongs to one group and then the results of 1 and 4 respectively 2 and 5 will be identical)

If you don't have groups you'll need to list the users

  1. Reporter in (User1,User2,User3,User4,User5)
  2. ...

 

 

Suggest an answer

Log in or Sign up to answer