@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.html
You 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
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.html
Regards,
Sushant Verma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 Bamboo
curl -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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.