Unable to Properly Filter Shared Teams when there are too many Results

XMLWordPrintable

    • 8.2
    • 3
    • Severity 3 - Minor

      Issue Summary

      When managing shared teams, only up to 50 results are shown at a time. There is no way to show more results. If there are too many teams with similar names, users may not be able to find their team.

      Steps to Reproduce

      1. Generate many shared teams with similar names
        • For example, in my case, I generated 100 teams starting with the letter "c", like c1234, cabd, etc.
      2. Rename a group to the single letter "c"
      3. Now attempt to search for the "c" team

      Expected Results

      • Exact matches are prioritized and shown
      • There is an option to show more results if the initial displayed results do not match

      Actual Results

      • There are limited results show, in what looks to be a random order (maybe this is by internal ID)
      • User is unable to find the team they want.

      Workaround

      User REST api to search for the teams and increase the maxResult limit to a higher value:

      curl -u admin:admin -X POST --data '{query: "c",maxResults: 1000}' -H "Content-Type: application/json" 'http://localhost:8080/jira851/rest/teams/1.0/teams/find'
      

      To avoid the problem in the future, update the team to something more unique:

      curl -u admin:admin -X POST --data '{title: "c123456"}' -H "Content-Type: application/json" 'http://localhost:8080/jira851/rest/teams/1.0/teams/4/update'
      

            Assignee:
            Unassigned
            Reporter:
            David Chan
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: