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

External Interface for Creating Projects/Plans/Jobs...

Kit Plummer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2011

Is there a way to programmatically create projects, plans, or jobs (etc.) for Bamboo? I'm really looking for a way to do this using a/the REST interface but from what I can tell the stock interface doesn't provide create capabilities. Is there a plugin that can provide this additional capability?

6 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2011

You can write your own REST services for Bamboo to add the missing capabilities.

Ken Wood
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2011

Yea... sorry to sound sarcastic, but I could also write my own Bamboo. I'd rather not, and I'd rather not have to write RESTful services for Bamboo to add the missing capabilities. These capabilities have been requested time and time again for a long time. See

BAM-1210, BAM-3112, BAM-4854

as just a few examples of this feature have been requested. BAM-1210 dates back to 2007, for example.

Kit Plummer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 23, 2011

I agree, it is a bit ridiculous that the existing API is "read-only". Not sure what the point of that is...the authn/authz system already exists, how difficult would it be to create a "token" so that users could utilize a more feature rich REST API?

But, it is what it is - we'll keep asking for it.

2 votes
Aurelien Vallee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 29, 2012

I find it ridiculous that Bamboo does not support/plan to support this.

This is a so obvious need for a continous integration server... How are we supposed to automate a developpement workflow if creating plans and projects requires manually clicking on a web page, adding tasks, etc... this is just a nightmare.

0 votes
colinmo
Contributor
January 2, 2013

@Ed I was pointing out that the clone in the API doesn't allow creating a project at the same time, while the web site does. And yes, they would also then need to add an Update Project API. Still, being able to mass-clone plans into new projects and use variables to make customisations would bring things a step closer.

0 votes
Ed Segall January 2, 2013

Colin,

You can clone a plan, but that's about it. If that satisfies your needs, great. However, if you need the cloned plan to be different in any way, you'll have to change it manually or reverse-engineer the forms to automate the change(s).

--Ed

0 votes
colinmo
Contributor
January 2, 2013

Given that Bamboo's API has PUT commands for cloning plans, I'm surprised you cannot clone a plan into creating a new project (considering that's how the web site works as well).

0 votes
Ed Segall August 7, 2011

Jobin,

Per https://answers.atlassian.com/questions/5804/automating-setup-of-a-build-plan-clone-that-is-targeted-to-a-new-release-branch, I agree that a plugin providing these services would be great, but I looked at the Bamboo API docs and I don't see a lot of the information that would be needed and I can't take the time to fumble my way through using guesswork.

It is possible to do get the job done using curl (or another http client that's easily invokable from a script) if you are willing to analyze the Bamboo forms. Unfortunately this approach is susceptible to breaking any time the web pages change, but at this time it's the only viable approach from my perspective.

--Ed

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events