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
Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!
Start here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.