Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 modify soucecode checkout repo in multiple deployments?

Hi Team,


I have some 400 deployment projects available, i would like to change the old linked repository to new repository.


Is there any API or any step is bamboo can help me to do this?




1 answer

0 votes

Just to state/clarify the obvious, the main purpose of using Bamboo's linked repositories rather than configuring one per plan/project is to separate repository changes from plans/projects that are consuming them:

Linked repositories are available globally to all plans and jobs configured on the Bamboo server. Doing this can save you from having to reconfigure the source repositories in multiple places if these ever change - any changes to a linked repository are applied to every plan or job that uses that repository. 

Can you please clarify whether you actually need to change which linked repository is consumed rather than changing which repository the linked repository itself references (of course, you might e.g. want to change the repository only for a subset of consumers, but not others)?

Other than that, I'm not aware of a resp. REST API, unfortunately Bamboo does not expose its features via REST in a consistent way - speaking of which, there is also no REST API for linked repository configuration itself, please watch and vote for for the following improvement to increase Atlassian's priority to close this gap:

That being said, you might be able to achieve this via the Java API by means of the excellent ScriptRunner for Bamboo (BETA), which allows you to automate Bamboo via Groovy. You need to figure out the required code yourself though , i.e. I haven't yet tried to adjust the repository configuration via that route.

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

215 views 4 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