I would like to add a new capability to all my existing plan. I investigated the Bamboo DB and I didn't found how to insert a new capability linked to all my plan.
Do you have any idea how to proceed? It's not mandoatory to do that via the DB, if you have another solution or way to do ttat, it's also ok
I dont suggest directly modifying the database as I believe it will need a service restart to take affect and there is a lot of room to really damage your Bamboo instance. If you modify the database incorrectly, its possible that your Bamboo service will fail to restart for example.
If there isnt an official REST call for what you're trying to do (which there isnt for capability modifications), then open a browser and add/modify a capability with a debugging tool like FireBug (firefox) or the element inspector (chrome) enabled. You will then see the underlying url and arguments being called that modifies capabilities. You can then make that call from the command line via wget or curl or write a small tool in perl, python, etc. that makes the change. This is much safer as you are going through the "front door" of Bamboo as a client and not mucking with the database.
Remember, nearly anything you can do through the web UI you can make from a script if you know the URL and arguments. Some disclaimers:
I don't think I could provide an example any easier that what the Atlassian documentation already provides. If you're new to scripting http GET/POST requests then I suggest looking around the internet for information or purchasing a book on the topic since it's a much larger topic than what can be explained in this forum.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot