You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello everyone,
in the spirit of "lets automate ALL THE THINGS", we're trying to create a new project in bamboo programmatically (and eventually, stages, plans etc, but first things first).
From what I can see, the REST API only allows creating new deployment projects?
YAML Specs seems to work on existing projects only.
Java Specs look like the only workable way to create a new project, but we have little Java experience, and would love to avoid it if at all possible.
Is there really no easy way to create a new project in bamboo? It seems like it should be easier than it looks, like a /api/latest/project/name POST-call :)
Thanks for your time!
Michael
Community moderators have prevented the ability to post new answers.
The java specs approach turns out to not be very difficult once you start.
If you manually create a "base" project that contains all of the basic things you want, and then you use the 'View plan as Java Specs' action, you can then check that into a bamboo-specs\ directory at the root of your repository as-is, and then you can use that as a template to create other plans as needed.
If you had some java experience, refactoring the code produced this way would be ideal, but if not, it is still usable and customizable as it is.
Best advice I could provide while learning it is to make a change to a plan using the UI and then view that change in java specs so you can see how it is converted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.