Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira REST API to get the list of users who have permission to BROWSE an issue

Nazmus Sadat June 28, 2021

Hello everyone,

In my cloud instance, I have created an Issue Security Scheme. Then I added an Issue Security Level to that scheme. In the security level, I added Single User (me). Finally, I assigned the Issue Security Scheme to a project.

 

But, surprisingly, when I call the following REST endpoint to get the list of users who have permission to BROWSE an issue of that project, it returns all of the users of the system including addon users.

 

def response = get("/rest/api/3/user/permission/search?projectKey=APD&permissions=BROWSE")

        .header('Content-Type', 'application/json')

        .asJson()

 

Please advise.

 

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Nazmus Sadat June 29, 2021

In “Project permission” of my project, under “Browse Project” setting, it listed "any logged in user". Apparently, that was the reason why the API returned all the users.

Suggest an answer

Log in or Sign up to answer