JQL function membersOf("id:<TeamId>") intermittently returns errors

XMLWordPrintable

    • 6
    • Minor
    • 8

      Issue Summary

      Running a JQL search including membersOf("id:<TeamID>") will sometimes return an error stating the group/team can't be found. This can occur even if the Team ID resolves to a lozenge listing the team name as described in the official feature announcement.

      Steps to Reproduce

      1. Visit the Jira search page
      2. Input a JQL search including the relevant function (example below)
        assignee in membersOf("id:<teamId>")
        

      Expected Results

      The JQL returns work items that are assigned to users belonging to the team.

      Actual Results

      Intermittently, Jira returns the error "Function 'membersOf' can not generate a list of users for 'id:<TeamID>'; The group or team does not exist. When using teams, you must use id:<teamID>."

      It is unclear what Teams can successfully validate the JQL vs what Teams will result in an error. The error appears related to the specific Team being searched, as certain teams will always return successful results, and other teams will always error. Even if the teamId is resolved by the UI and turns into a lozenge with the team name, the search may still return an error.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Winston Kint
              Reporter:
              Felipe Oliveira
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: