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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.