Create
cancel
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 create a new bamboo project without the UI

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

2 answers

1 accepted

0 votes
Answer accepted

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.

Thank you, I will have a look at the Java Specs then :)

I have heard of bamboo before so for my site which is about discounted coupons like this Spirit Halloween Coupons which gives its users the most finest discounts on halloween shopping and other shopping too is in development. I am thinking to take my development to bamboo as it is just in the beginning. I am going this is because of the rest APIs, as they are also gonna be used in the mobile app. 

What is the use of spirit Halloween coupons here? It's about development and you can offer them coupons like Envato Market

I suggest you to go to Mesheble. may be you will find a development guide or any shortcut to resolve the issue. 

Suggest an answer

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

653 views 1 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