It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Load all repositories in stash when the webpage loads

Currently I have more than 20 repositories in one of the Stash's projects. When the page loads initially in the project, only 10 repositories are shown and only when the user scrolls down to the bottom of the page, he can see the remaining 10 ten repositories.

How can I configure stash to load all repositories in a Stash project when the page loads initially?

2 answers

1 accepted

0 votes
Answer accepted

I don't think this is a configuration option (I don't see anything like that in besides the max per page overall).

Looking at the release notes for the developer API, this stands out:

I think they do it for performance reasons, to avoid putting undue strain on the server.

Thank you Larry for your response. I updated the file with page.max.repositories=1000 and restarted stash. But the page still loads just first 10 repositories initially. Am I missing something here?

That is all that will show up on one page before you have to actually navigate to another page. It does not handle the inpage ajax calls to populate up to that 1000. Like I said, I don't think it is possible.

Hi Karthik,

Thanks Larry. In Stash we try to have limits on everything. The max limit is how many you are allowed to ask for in a single request, which is mainly required for the REST endpoints which people use for various reasons. We wouldn't want to allow REST clients to be able to cause Stash performance problems if they started asking for thousands of entities.

The actual defaults for the project listing are hard-coded in both the Java (for the first 25 projects) and JS (for everything loaded when scrolling after that), and they aren't (currently) configurable.



Thanks Larry. I will arrange the repos in different projects then.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,086 views 0 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you