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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

143 views 0 2
Read article

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