• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Bamboo Specs
    • None
    • 4
    • 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.

      Bamboo 6.7.1 when creating a new Deployment using Bamboo specs if the associated Plan does not exist and hence have any artifacts associated with it then we see a cryptic stack trace..

      Artifact download / source plan: Chain null does not exist.
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException: Artifact download / source plan: Chain null does not exist.
      	at com.atlassian.bamboo.configuration.external.helpers.TaskDefinitionExportHelper.validateTaskProperties(TaskDefinitionExportHelper.java:190)
      	at com.atlassian.bamboo.configuration.external.DeploymentImportServiceImpl.convertYamlToDeployment(DeploymentImportServiceImpl.java:191)
      	at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.importBambooYamlForDeploymentProject(RepositoryStoredSpecsServiceImpl.java:894)
      	at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.lambda$importBambooYamlsOfAllTypes$7(RepositoryStoredSpecsServiceImpl.java:612)
      	at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.importBambooYamlsWithImporter(RepositoryStoredSpecsServiceImpl.java:648)
      	at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.importBambooYamlsOfAllTypes(RepositoryStoredSpecsServiceImpl.java:617)
      	at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.processSpecs(RepositoryStoredSpecsServiceImpl.java:395)
      	at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.runBambooSpecs(RepositoryStoredSpecsServiceImpl.java:278)
      	at com.atlassian.bamboo.configuration.external.RssDetectionServiceImpl.runRssDetection(RssDetectionServiceImpl.java:262)
      	at com.atlassian.bamboo.configuration.external.detection.RssDetectionRunnable.run(RssDetectionRunnable.java:42)
      

      The exception is seen because the specs is building a default download artifact task
      and the Plan does not exists.

      It would be helpful if the exception error gave more details about which Plan has the issue and that there are no artifacts defined in the plan.

          Form Name

            [BAM-20209] Bamboo specs more helpful errors in logs

            Affecting my team!

            Chris Franco added a comment - Affecting my team!

              Unassigned Unassigned
              cberry@atlassian.com Chris Berry (Inactive)
              Votes:
              16 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: