Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Atlassian connect authenticatedAsAddon returns 403 (Missing user picker permission)



We are using the atlassian-connect library to call a REST that should give us a list of all users that are reporters in a certain project.  We need to use authenticatedAsAddon (and not authenticatedAsHostActor) from the code because not all users will have permissions. The code is very simple:

String reportersJson = atlassianHostRestClients.authenticatedAsAddon()
                    .exchange("/rest/api/3/user/search/query/key?query=is reporter of " + projectKey,
HttpMethod.GETnew HttpEntity<>(new HttpHeaders()), String.class).getBody();

 However, for some instances the code returns a 403 error (the REST is fine if we execute it in the browser from the current admin user):

class org.springframework.web.client.HttpClientErrorException$Forbidden - 403 Forbidden: [{"errorMessages":["Missing user picker permission"],"errors":{}}]

 We can't find how to figure out what permissions have been changed in order to get this error. We have a user created for our app but we can't seem to find where to see its permissions as it is of type "app" and does not appear in the Users section. Or maybe it is related to the global permissions of Jira.

Does anyone know how to fix this on these instances? All kinds of help are greatly appreciated.



2 answers

Having the same error, need urgent response.

The addon has the above scope authorized by atlassian. The unauthorized exception gets in some environments only


The code is:

.getForEntity("/rest/api/3/user/email?accountId=" + userAccountId, Object.class)

We are having the same issue, except with Confluence on one of our customers accounts (trying to access /rest/api/group) - works fine on our own dev/prod atlassian sites.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

758 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you