Hi @Akshara Prasad,
I wish it was that simple and I could just provide you with a REST API endpoint for this.
Bamboo provides a way to add and remove tasks from deployments but only if your deployment is configured through specs. There is know public REST API endpoint only to add tasks.
If you don't know specs, I suggest you start with this document:
And run some tests with:
In Java specs the code part to create a script task in a deployment environment would be something like:
.description("My script task")
.inlineBody("echo \"Hello World\"")));
I hope that helps.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
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