Is it possible to make Stash server read-only?

Hi all,

we're currently migrating from an existing Stash (3.7.1) instance to our new Bitbucket Data Center (4.0.4) instance. We'd like to keep the Stash instance around in read-only mode for a while. Is is possible?

Thanks in advance for your support,

2 answers

1 accepted

0 votes
Accepted answer
Mikael Sandberg Community Champion Mar 10, 2016

Yes, just change the permission to read-only on each project/repository. 

Thanks Mikael. We're talking about roughly 600 repos here. I was hoping there was a central configuration item we could use for that. And then we could of course utilize the REST API to automate this. Any other suggestions?

Mikael Sandberg Community Champion Mar 11, 2016

Yes, it would be nice of you could do it using a global setting, but currently the option is to do it on each repo or use REST API to do it, and in your case I would probably go with the REST API option. There is an issue opened for it, BSERV-2792, so maybe in not to distant future we will see this option.

Thanks again, Mikael. I've upvoted BSERV-2792. We'll most likely go with the REST API option, then.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,961 views 7 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you