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
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

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
AUG Leaders

Atlassian Community Events