Need to get the list of all project that a group or person has access to via REST
You can use the "Get permitted projects" Jira Cloud API endpoint (/rest/api/3/permissions/project) to obtain the list of projects for which the current user has permission.
Unfortunately, the endpoint doesn't allow to set a group or specify a Jira user as a parameter (refer to https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions/#api-rest-api-3-permissions-project-post)
The way I see it, for specific users other than the current or groups of users, no unique endpoint will retrieve such information.
I think you would need to rely on an additional Jira app or plugin that preferably allows scripting (e.g., JMWE, Power Scripts, etc.).
I hope this helps a bit.
Best regards,
- Pablo Vergara / SSR - ServiceRocket
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.