Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

How to start all the stopped repos in fisheye ?

I have more than 5000 repos showing stopped in my fisheye instance and i want to start all of them at once. Manually starting every single repo is impossible.

Please suggest a way to start all of them. 


Anurag Sharma


1 answer

1 accepted

1 vote
Answer accepted

Hi Anurag,

You should be able to use the Fisheye REST API to do this programmatically.

Here's the specific endpoint you can use:

Since there are so may repos, you might also want to use the following REST API endpoint to get a list of the repos:

In the event that you'd like to know if the repo is running prior to attempting to start it, you can use this REST API endpoint to get the status of the repo:

Here are examples of the REST calls you'll make in each scenario if you were to use cURL:

Start a repo

curl -vkS -u <fisheye_admin> -H "Content-Type: application/json" -X PUT "<base_URL>/rest-service-fecru/admin/repositories/{repository}/start"

Get a paged list of repos

curl -vkS -u <fisheye_admin> -H "Content-Type: application/json" -X GET "<base_URL>/rest-service-fecru/admin/repositories"

Get the status of a repo

curl -vkS -u <fisheye_admin> -H "Content-Type: application/json" -X GET "<base_URL>/rest-service-fecru/admin/repositories-v1/{repository}"

With respect to the examples listed above:
* Be sure to change <fisheye_admin> to the username of your fisheye user with admin privileges
* Be sure to change <base_URL> to the base URL of your Fisheye instance
* Be sure to change {repository} to the actual repo's name

The implementation of the full code you will use will depend on the language you choose to write it in. However, let us know if you have any issues making the REST API calls themselves and we'll help point you in the right direction.

I hope this information is helpful!

Suggest an answer

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

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

72 views 0 6
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