I am new to this, And i wanted to know how to how to go to all repos and check one particular branch from them using java code

I wanted to know how to go to all repos under one. and check particular branch from them after that i have to select folder under branch and pull data from particular file?
Any suggestion how i can go for this?

We share you some inputs:

how to go to all repos under one

for (String projectKey : projectService.findAllKeys()) {
    Project project = projectService.getByKey(projectKey);
    for (Repository repository : repositoryService.findByProjectKey(project.getKey(), ...).getValues()) {

check particular branch from them

        Ref ref = refService.resolveRef(...);

i have to select folder under branch and pull data from particular file

        refService.streamBranches(...);
    }
}

Enjoy. :wink: