Plugin for update setting for many repos under a project

Vishnu Reddy K May 17, 2016

Our team has many Bitbucket repositories. We have mostly common settings for all of them (trigger Jenkins jobs etc. From time to time, we were asked to restrict pull requests to require specific users’ approval. We would go to each repositories to make the change.can you let me know the plugin which is the best to achive this?

2 answers

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
May 18, 2016

grantRepositoryPermissions and revokeRepositoryPermissions probably will do what you are looking for. Use runFromRepositoryList if you need to do this across a number of repositories. These are client actions from Bitbucket Command Line Interface (CLI).

0 votes
Mark McCormack _Adaptavist_
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.
May 18, 2016

Vishnu,

Can I suggest you take a look at our add-on ScriptRunner for Bitbucket Server which can help you script and automate a number of areas within Bitbucket Server.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events