I want to delete multiple plans from my server .
can any one suggest me how i can follow the steps.
Thanks
Raj
Hi @SunadhRaj.Malaka Welcome to the community!
Deleting a plan deletes everything related to that plan, including the plan's configuration, all of the plan's job configurations and the plan's branch plans, job build results, artifacts, labels, and comments:
There are two ways to delete a plan:
These doc will help you more : https://confluence.atlassian.com/bamboo/disabling-or-deleting-a-plan-289276855.htmlRegards,Sushant Verma
i want to delete from REST API , i am trying with this below rest api and facing some the issue attached can you guide me on this .
REET API
## Marks plan for deletion. Plan will be deleted by batch job.## replace {username}# replace {planKey}, e.g PROJ-PLAN# replace http://localhost:8085 with URL to access Bamboocurl -k -u {username} \ -H 'X-Atlassian-Token: no-check' \ -H 'Accept: application/json' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'buildKey={planKey}' \ -X POST 'http://localhost:8085/chain/admin/deleteChain!doDelete.action'2
error is attached
@SunadhRaj.Malaka As from screenshot, you are getting 401 error. Please check if credentials are fine or also, please check below:
You can also follow this doc : https://confluence.atlassian.com/bamkb/how-to-delete-bamboo-projects-and-plans-in-bulk-using-rest-api-1216583450.htmlYou be honest, I am not sure about Rest API's. Might be above solutions will help you or you can also raise the ticket with Atlassian via https://support.atlassian.com/Regards,Sushant Verma
Thank Yo so much Sushant
we have around 30000+ plans
It looks like you're new here. Sign in or register to get started.