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

Repository does not get created and linked while creating a plan in Bamboo if validation fails initially

      Summary

      Repository does not get created and linked while creating a plan in Bamboo if validation fails initially.

      Steps to Reproduce

      1. Create Plan
      2. Fill Plan Name and Plan Key
      3. Link repository to new build plan >> Link new repository >> Bitbucket Server / Stash
      4. Fill all details except Display name
      5. Click Configure Plan (Save)
      6. The save will fail due to missing display name and refresh the UI
      7. Repository host will now be None
      8. Toggle the Repository host back to Link new repository
      9. Fill out all details, including Display Name
      10. Click Configure Plan (Save)
      11. Validation passes this time and you are taken to the configure job screen >> Save and continue
      12. Check Repository tab -> It's empty.

      Expected Results

      • Repository is successfully saved and linked after a validation errors are corrected and plan creation continues.
      • The UI at Step 8 should remain on Link new repository, not revert back to None.

      Actual Results

      • Repository does not get created or linked to the build plan even after fixing the validation errors.
      • UI reverts back to None at Step 8 rather than remaining on Link new repository and displaying the validation error.

      Workaround

      Re-create the repository at Plan Configuration >> Repositories after the plan has been created.

            [BAM-20053] Repository does not get created and linked while creating a plan in Bamboo if validation fails initially

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 2768611 ] New: JAC Bug Workflow v3 [ 3386147 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Krystian Brazulewicz made changes -
            Component/s New: Plan configuration [ 37394 ]
            Component/s Original: Plan Creation [ 18290 ]
            Marcin Gardias made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Alexey Chystoprudov made changes -
            Fix Version/s New: 6.8.0 [ 81602 ]
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Alexey Chystoprudov made changes -
            Assignee New: Marcin Gardias [ mgardias ]
            Alexey Chystoprudov made changes -
            Remote Link New: This issue links to "BDEV-15137 (Jira)" [ 408073 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Krystian Brazulewicz made changes -
            Labels New: bamboo-bugfix-kanban-candidate da-warranty
            Krystian Brazulewicz made changes -
            Occurrence Factor New: 10% [ 12830 ]
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Alexey Chystoprudov made changes -
            Component/s New: Plan Creation [ 18290 ]

              mgardias Marcin Gardias
              jowen@atlassian.com Jeremy Owen
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: