Hi,
I am using the API "/rest/api/3/user/search" to get the list of users in my atlassian-connect application. Currently, I am accessing the API using on behalf of a user (Authorization with user impersonation) but i want to access it via an app user (Authorization via scopes and app users). According to the Atlassian connect README, i am sending the request as:
addon.httpClient.get('/rest/api/3/user/search', function(err, res, body) { ... });
I have also defined the scope as "ADMIN" in atlassian-connect.json file but still unable to fetch any result and no users are returned. Is there anything i am missing with the request or permissions?
Thanks in advance.