Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

REST API: How to get the list of all project that a group or person has access to?

Paul Heath Armengol
Contributor
June 7, 2024

Need to get the list of all project that a group or person has access to via REST

1 answer

1 vote
Pablo Vergara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 7, 2024

Hi @Paul Heath Armengol 

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events