Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-70582

Searching for users against the REST using CQL returns empty accountType fields

    XMLWordPrintable

Details

    Description

      Issue Summary

      Querying the REST API with /wiki/rest/api/search/user?limit=20&cql=type=user returns results where user.accountType is always a blank string.

      Steps to Reproduce

      1. Log in to confluence.
      2. Open [base-url]/wiki/rest/api/search/user?limit=20&cql=type=user in a new tab

      Expected Results

      The user.accountType field of each result is populated.

      Actual Results

      The user.accountType field of each result is NOT populated.

      Workaround

      To work out the account type, query /wiki/rest/api/user?accountId=[account-id].

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dmorrow@atlassian.com Dugald Morrow
              Votes:
              17 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated: