-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
2
-
Problem Definition
Nowadays three separate requests need to be executed for each project in order to verify the default access permissions:
- GET /rest/api/1.0/projects/ABC/permissions/PROJECT_ADMIN/all
- GET /rest/api/1.0/projects/ABC/permissions/PROJECT_WRITE/all
- GET /rest/api/1.0/projects/ABC/permissions/PROJECT_READ/all
Multiply that by thousands of projects and you see how complex and time consuming it becomes to determine default access permissions for all projects.
Suggested Solution
There should be a single endpoint to determine the default access permissions for all projects at once rather than running the above three queries for each project.
Workaround
A script could first execute GET /rest/api/1.0/projects in oder to retrieve the list of projects and then, for each project, run the three endpoints mentioned above.