JiraUserAvatarProvider queries all users to find a matching email address

XMLWordPrintable

    • 7.02

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      JiraUserAvatarProvider.getAvatar(final String email, final int size) called userManager.getUsers() so that it could iterate through all of them to find a matching email address.

      This is very slow and calling this from a search will bring JIRA performance down significantly as seen in JDog recently.h3.

      Steps to Reproduce.

      1. Call JiraUserAvatarProvider.getAvatar(final String email, final int size)
      2. Observe the behaviour described in the summary.

            Assignee:
            Unassigned
            Reporter:
            Oswaldo Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: