Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Massively script/set permissions on repositories ?

Hello

 

We migrated 440+ repositories yesterday from server to cloud edition.

Is there a massive way to script/use a product to setup the permission scheme ?

 

On server, previously we setup the permissions on project level and so all repos inherited their permissions from the project permission scheme.

 

Now it seems I need to manually re-enter 440 permission scheme (99.99% will be the same)

 

Has anyone already faced the question ? Thanks for the help in advance

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 29, 2022

Hi Yannick,

You could use our API to script this. Version 2 of our API doesn't provide endpoints for user and group management, so we still offer temporary support to certain 1.0 API resources for that purpose.

On this documentation page, you can see the endpoints and examples for
- creating a new user group
- adding a member to a user group

This page includes the endpoint for adding a group to a repository.

If you have any questions specific to your use case, please feel free to let me know.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events