Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-85060

Searching for users with a certain property via REST API returns empty string

XMLWordPrintable

      Issue Summary :

      Searching for users with a certain property via REST API returns empty string.

      Environment

      Jira Cloud

      Steps to Reproduce

      1. define a property and add it to a user
      2. query via REST API for that user's property to confirm it's been set:
        <sitename>.atlassian.net/rest/api/3/user/properties/<property-name>?accountId=<the Atlassian Account ID>
        
      1. search for all users with that property by querying
        <sitename>.atlassian.net/rest/api/3/user/search?property=<propertyname>.value=true
        

      Expected Results

      All users with that property will be returned

      Actual Results

      Only an empty string ( [] ) is returned

      Workaround

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

        1. screenshot-1.png
          289 kB
          Anusha Rutnam

              Unassigned Unassigned
              c125eb31dcc4 Danish Magrey
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: