Find users and groups endpoint is not returning both users and groups when query param is empty

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Find users and groups endpoint is not returning both users and groups when query param is empty.
      if query= is used only groups are returned
      if query=”” is used only users are returned

      https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-group-and-user-picker/#api-rest-api-3-groupuserpicker-get

      /rest/api/3/groupuserpicker

      Steps to Reproduce

      1. Make a call to the endpoint mentioned above with query=
      2. confirm only groups are returned
      3. a call to the endpoint mentioned above with query=””
      4. Confirm only users are returned

      Expected Results

      Empty query should return both users and groups

      Actual Results

      depending on if the query is empty or a empty string it will return only users or only groups

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Ana Viseu (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: