Add JQL function to search for issues based on Team membership

XMLWordPrintable

    • 3
    • 2

      Search work items (issues) based on membership of Teams

      As a user I would like to query below using JQL.

      Show me all Issues from Project X, assigned to teams which UserA is a member of

      project = "Project X" AND assignee = TeamMembershipOf(userA) 
      

      Alternative approach is

      Project=<project key> AND "Team[Team]" IN (TEAM-1,…Team-n). 
      

      That isn't the best result because you'd need to change the filters every time a new team is created or when team members change.

            Assignee:
            Unassigned
            Reporter:
            Zee Choudhry (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: