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

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

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,059 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you