The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[URGENT] Bitbucket RepositoryService: findAll method doesn't return all repositories?

shady boy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2019

I need to receive all repositories from Bitbucket. In order to do this I am using the RepositoryService which has a method called "findAll"

It's described as follows: 

"Find all repositories in the system."

You can find said RepositoryService with the findAll method here.

 

Unfortunately this method doesn't seem to return all repositories. It returns fewer repositories than my file system contains. If I use different endpoints to get all project repositories and all user repositories there are still fewer repositories than in the file system. All repositories on the file system are accessible but somehow aren't found by the API, despite being found by the database and the file system.

Do any of you know which repositories findAll ignores? Is there a way to get every single repository?

Thank you in advance,

shady boy

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events