• Icon: Suggestion Suggestion
    • Resolution: Low Engagement
    • None
    • None
    • 8
    • 4
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      We currently have a Gitolite system and have a couple hundred repositories. In the Stash documentation I don't see a way to import repositories from a disk store.

      Ideally I'd be able to point Stash at a directory on-disk and say "grab these repositories and create a new project for each" – or even better, create a new project for all repositories under a common path.

            [BSERV-2590] Import repositories on-disk

            Atlassian Update - 2 May 2025

            Hello,

            Thank you for submitting this suggestion. We appreciate you taking the time to share your ideas for improving our products, as many features and functions come from valued customers such as yourself.

            Atlassian is committed to enhancing the security and compliance of our Data Center products, with an emphasis on sustainable scalability and improving the product experience for both administrators and end-users. We periodically review older suggestions to ensure we're focusing on the most relevant feedback. This suggestion is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments. This inactivity suggests a low impact. Therefore, this suggestion is not in consideration for our future roadmap.

            Please note the comments on this thread are not being monitored.

            You can read more about our approach to highly voted suggestions here and how we prioritize what to implement here.

            To learn more about our recent investments in Bitbucket Data Center, please check our public roadmap and our dashboards, which contain recently resolved issues.

            Kind regards,
            Bitbucket Data Center

            Ishwinder Kaur added a comment - Atlassian Update - 2 May 2025 Hello, Thank you for submitting this suggestion. We appreciate you taking the time to share your ideas for improving our products, as many features and functions come from valued customers such as yourself. Atlassian is committed to enhancing the security and compliance of our Data Center products, with an emphasis on sustainable scalability and improving the product experience for both administrators and end-users. We periodically review older suggestions to ensure we're focusing on the most relevant feedback. This suggestion is being closed due to a lack of engagement in the last four years , including no new watchers, votes, or comments. This inactivity suggests a low impact. Therefore, this suggestion is not in consideration for our future roadmap. Please note the comments on this thread are not being monitored. You can read more about our approach to highly voted suggestions here and how we prioritize what to implement here. To learn more about our recent investments in Bitbucket Data Center, please check our public roadmap and our dashboards, which contain recently resolved issues . Kind regards, Bitbucket Data Center

            Yes i will make a script......Currently i am going one at a time from one instance to another instance.  automation save me!!

            Jonathan Vezinat added a comment - Yes i will make a script......Currently i am going one at a time from one instance to another instance.  automation save me!!

            Dear watchers, in case you missed it, Bitbucket 4.9 includes a repository importer that can bulk import from Bitbucket.org, Github, and single raw HTTP Git URLs.

            While it doesn't do bulk on-disk imports per this suggestion, we hope this might be useful.

            Roger Barnes (Inactive) added a comment - Dear watchers, in case you missed it, Bitbucket 4.9 includes a repository importer that can bulk import from Bitbucket.org, Github, and single raw HTTP Git URLs. While it doesn't do bulk on-disk imports per this suggestion, we hope this might be useful.

            Matt added a comment -

            I agree with Oguz. While we can take the time to write a script, I could do that with Gitlab. I would expect purchasing an enterprise application would have that functionality embedded.

            Matt added a comment - I agree with Oguz. While we can take the time to write a script, I could do that with Gitlab. I would expect purchasing an enterprise application would have that functionality embedded.

            I'm a developer on Stash. We have an early release of an importer for Stash available for customers to try out. It will scan for repositories on your local disk, create projects and repositories on Stash via REST and finally import the repositories into Stash.

            Get in touch with us at http://support.atlassian.com if you'd like to try it out.

            Michael Studman (Inactive) added a comment - I'm a developer on Stash. We have an early release of an importer for Stash available for customers to try out. It will scan for repositories on your local disk, create projects and repositories on Stash via REST and finally import the repositories into Stash. Get in touch with us at http://support.atlassian.com if you'd like to try it out.

            In the meantime, It should be possible to write up a script that creates projects/repositories and pushes the git repositories – all using the Stash REST apis.

            Have a look at:

            Create a project over rest: https://developer.atlassian.com/static/rest/stash/2.4.2/stash-rest.html#idp487632

            Create a repository over rest: https://developer.atlassian.com/static/rest/stash/2.4.2/stash-rest.html#idp953008

            Malik Mangier (Inactive) added a comment - In the meantime, It should be possible to write up a script that creates projects/repositories and pushes the git repositories – all using the Stash REST apis. Have a look at: Create a project over rest: https://developer.atlassian.com/static/rest/stash/2.4.2/stash-rest.html#idp487632 Create a repository over rest: https://developer.atlassian.com/static/rest/stash/2.4.2/stash-rest.html#idp953008

            Another one reason to have natural directories naming for git repositories on disk (STASH-2993).

            Alexey Efimov added a comment - Another one reason to have natural directories naming for git repositories on disk ( STASH-2993 ).

            427 over here, and going up every day.

            Even 427 is basically not realistic without an importer. Don't want to imagine 2300.

            Jeff Mitchell added a comment - 427 over here, and going up every day. Even 427 is basically not realistic without an importer. Don't want to imagine 2300.

            2300 repos and counting, please consider implementing this.

            Mikko Hyvärinen added a comment - 2300 repos and counting, please consider implementing this.

              Unassigned Unassigned
              4ec3495c6007 Jeff Mitchell
              Votes:
              33 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated:
                Resolved: