Bitbucket Server trigger can't be exported to YAML Specs

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      Bitbucket Server trigger can't be used at YAML Specs for plan triggers configuration.

      Steps to Reproduce

      1. Create plan with Bitbucket Server trigger
      2. Export config to YAML Specs

      Expected Results

      Full plan config can be exported to YAML format

      Actual Results

      For Bitbucket Server trigger you see

      # Trigger type TriggerProperties{name='Bitbucket Server repository triggered', description='', conditions=[com.atlassian.bamboo.specs.api.model.trigger.AllOtherTriggerConditionProperties@c9576315], enabled=true} is not supported yet
      # 

      Workaround

      Bamboo versions >= 8.0.6, 8.1.2, and 8.2.0

      The Bitbucket trigger won't show up if it's the only trigger on the plan. As a workaround you can:

      1. Temporarily add another trigger to your plan (e.g. Repository polling).
      2. Export the config to YAML Specs again.
        • The config will include both triggers now – remove the polling trigger from the config if it's not needed before importing the YAML file.
      Bamboo versions < 8.0.6, 8.1.2, and 8.2.0
      • Use Java Specs format instead of YAML.

            Assignee:
            Alexey Chystoprudov
            Reporter:
            Alexey Chystoprudov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: