Hello!
Is there a way (multiple calls are fine) to get a list of all Projects a particular User has access to using the Rest API?
Thanks in advance.
Dear @Jim Quitte ,
see my pseudo code:
projects = GET /rest/api/2/project
for (<PROJECT> in projects)
res = GET /rest/api/2/user/permission/search?username=<MYUSER>&projectKey=<PROJECT>&permission=BROWSE
if (res.HTTP_CODE = 200)
echo User <MYUSER> has access to <PROJECT>
Follow this for details on api call.
So long
Thomas
{'errorMessages': ['At least one permission name must be specified'], 'errors': {}}
This is what the response says
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.