We have a mirrored env where we test tool upgrades (bamboo, stash, etc). If our production host is example.com, then the dev env's host is exampledev.com.
What we have done in the past is export bamboo, unzip the file and find / replace all example.com with exampledev.com, then rezip the file and import it into our dev host. This allows us to make sure that dev is as close as possible to production (and pointing at stash dev). We also mirror stash repos from our prod stash instance to dev using the api and a bit of git cloning.
We recently changed bamboo to use application links rather than repo urls that contained variables. Bamboo doesn't like it after the find / replace all.
How should we import into the dev instance and change the plans to point to stash dev?
Thanks for your time
Thank you for your question.
Please, recreate the application link between Bamboo and Stash (to point to your dev instances) and update the repositories in Bamboo, making sure they are pointing to the correct Stash instance (which seems to be dev). This will be the safes approach.
Since you have moved to application links, all the communication between Bamboo and Stash will run through this linkage so only updating the repository URL will not be enough, I am afraid.
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
Rafael P. Sperafico
While it wouldn't be too much work to re-create the app link, it would be a lot to update the ~ 500 build plans.
Taking a quick look at the REST api, I can't see any way to script updating the repos config on plans either.
Is there a way that's less safe that doesn't involve a day+ of work each time we'd want to do this?
Thanks for your time,
I'm accepting the answer because that's the best that I've got right now.
I've kept our current possibly-unsafe clone, but rather than manually than update the ~ 500 builds and the 100's of branches I wrote a Selenium script to open each plan / branch, wait for the js to finish loading, and then press save.
It's not ideal, but it's good enough for now.
Rafael thanks for letting me know that I wasn't missing something else.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs