# Rest API user/search not bringing results in some accounts

**URL:** <https://community.developer.atlassian.com/t/rest-api-user-search-not-bringing-results-in-some-accounts/358>\
**Category:** Jira Cloud\
**Created:** [March 1, 2017, 7:20pm UTC](https://community.developer.atlassian.com/t/rest-api-user-search-not-bringing-results-in-some-accounts/358 "2017-03-01T19:20:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ktsour](https://avatars.discourse-cdn.com/v4/letter/k/ebca7d/32.png) [@ktsour](https://community.developer.atlassian.com/u/ktsour)\
**Post date:** [March 1, 2017, 7:20pm UTC](https://community.developer.atlassian.com/t/rest-api-user-search-not-bringing-results-in-some-accounts/358/1 "2017-03-01T19:20:35Z")

</div>

We have implemented an add-on for JIRA Cloud.  
A user of our add-on reported they are not getting a list of their users (user/search endpoint).  
In my account, it works fine (and for other users too).

Could there be a problem with the specific account ?  
Any suggestions ?

---

<div class="post-metadata">

**Author:** ![daniel](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/daniel/32/35798_2.png) [@daniel](https://community.developer.atlassian.com/u/daniel)\
**Post date:** [March 2, 2017, 1:20am UTC](https://community.developer.atlassian.com/t/rest-api-user-search-not-bringing-results-in-some-accounts/358/2 "2017-03-02T01:20:37Z")

</div>

Take a look at their global permission settings:  
[https://confluence.atlassian.com/adminjiraserver071/managing-global-permissions-802592439.html](https://confluence.atlassian.com/adminjiraserver071/managing-global-permissions-802592439.html)

If you’re using User Impersonation, that user would need to be able to browse the users (I think). Otherwise your add-on user needs to be able to browse the users…

---

<div class="post-metadata">

**Author:** ![ktsour](https://avatars.discourse-cdn.com/v4/letter/k/ebca7d/32.png) [@ktsour](https://community.developer.atlassian.com/u/ktsour)\
**Post date:** [March 2, 2017, 10:15am UTC](https://community.developer.atlassian.com/t/rest-api-user-search-not-bringing-results-in-some-accounts/358/3 "2017-03-02T10:15:55Z")

</div>

Hi Daniel,

Thanks for the reply.

We are using User Impersonation and the user does have access to users. I asked our customer to visit the JIRA users page and he could see all his users as active.

To make sure we are using User Impersonation, I tried removing the add-on user from all the groups and the functionality is working fine on my installation. So, we are certainly using User Impersonation, and the user does have the appropriate permissions.

Any other ideas are welcome!

---

<div class="post-metadata">

**Author:** ![ktsour](https://avatars.discourse-cdn.com/v4/letter/k/ebca7d/32.png) [@ktsour](https://community.developer.atlassian.com/u/ktsour)\
**Post date:** [March 2, 2017, 11:12pm UTC](https://community.developer.atlassian.com/t/rest-api-user-search-not-bringing-results-in-some-accounts/358/4 "2017-03-02T23:12:39Z")

</div>

Hi,

I got an answer from the Atlassian Cloud Support.  
It looks like the user must have the Browse Users permission for the REST API call to work (in the JIRA Global permissions).

Thank you,  
Kiriakos
