Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21595

Warn Bamboo users that the removal of the main branch of a plan will result in the removal of the entire plan

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • User Interface
    • None
    • 11
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Problem Definition

      Users with Admin access to a plan can remove plan branches from the Plan configuration page as well as the Build > Branch status page in Bamboo. Attempting to delete the main branch (e.g. master) of a plan (or the plan itself) from the Plan configuration > Actions > Delete plan page will result in the following warning message:

      Delete plan

      You are about to delete plan "Project - Plan" and all of its branches. This plan has X branches, X stage and X job. If you proceed with this action Bamboo will irrevocably delete all branches, configurations, artifacts, logs and results related to this plan.

      However, deleting the same branch (e.g. master) from the Build > Branch status page results in the following warning message being displayed:

      Do you want to delete this branch build?

      This will irreversibly remove all build results and associated artifacts for this branch build.

      Suggested Solution

      Make it crystal clear to the user that they are attempting to remove the main branch of a plan through the Build > Branch status page and this will result in deleting the entire plan. Bamboo should be able to detect that the branch in question is the main branch of the plan and add an additional warning there. For example:

      Do you want to delete this branch build?

      This will irreversibly remove all build results and associated artifacts for this branch build.

      You are about to delete the main branch of the plan "Project - Plan". This will remove the plan and all of its branches. This plan has X branches, X stage and X job. If you proceed with this action Bamboo will irrevocably delete all branches, configurations, artifacts, logs and results related to this plan.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brosa Bruno Rosa
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: