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?
Community moderators have prevented the ability to post new answers.
You can write your own REST services for Bamboo to add the missing capabilities.
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
as just a few examples of this feature have been requested. BAM-1210 dates back to 2007, for example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.