Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-72862

REST API search (rest/api/2/user/picker?query="ab@domain.com") for users using email address is returning inaccurate results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 8.18.0
    • REST API
    • None

      Issue Summary

      REST API search (rest/api/2/user/picker?query="ab@domain.com") for users using email address is returning inaccurate results

      Steps to Reproduce

      1. Create multiple users with email addresses like abc@domain.com, abcd@domain.com
      2. Now, using REST APIC query for users having email address ab@domain.com
      3. example: rest/api/2/user/picker?query="ab@domain.com"

      Expected Results

      1. This should return no users

      Actual Results

      1. but it's returning 2 users above i.e abc@domain.com, abcd@domain.com which do not have an exact email address but it's searching for matches in the first part excluding domain.com

      Workaround

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

        1. Screenshot 2021-10-01 at 1.56.17 PM.png
          283 kB
          Devisree Gedda
        2. Screenshot 2021-10-01 at 1.56.30 PM.png
          279 kB
          Devisree Gedda
        3. Screenshot 2021-10-01 at 2.03.24 PM.png
          73 kB
          Devisree Gedda

            Unassigned Unassigned
            dgedda@atlassian.com Devisree Gedda
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: