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/projectfor (<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
It looks like you're new here. Sign in or register to get started.