You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I want to fetch details about user and their permission for a particular repository in a single API. Currently I am able to fetch details about all the repos for a particular workspace and using response of it, I have to use another API to fetch user and permission details.
Is there any way that for a particular project, I will get the details about all repos and their user and permissions under that project?
Thanks in advance
Hi @sachin shejul and welcome to the community.
This is not possible to do with a single API call.
Please keep in mind that there are two ways a user can have access to a repo
(1) via a user group (i.e. you invite a user to a user group, and then you add this user group to a repo from Repository settings > User and group access)
(2) direct repo access (i.e. you add a user to a repo from Repository settings > user and group access)
You can use this endpoint to list all explicit group permissions for a repository:
You can use the following endpoint to list all explicit user permissions to a repository:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.