No promote button if a deployment stage has more than 1 step

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 649

      Issue Summary

      No promote button shown on the deployments page if a deployment stage has more than 1 step

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Add a manual deployment step in the yaml file with more than 1 steps in deployment stage. sample config,
      image: atlassian/default-image:3 #atlassian/default-image:3
      
      pipelines:
        branches:
          main1:
            - step:
                name: Deploy to test
                deployment: Test     
                script:
                  - echo "test environment"
            - stage:
                name: Deploy to prd
                deployment: PROD
                trigger: manual
                steps:
                  - step: 
                      script:
                        - echo "first step"          
                  - step: 
                      script:
                        - echo "second step"
      
      1. In the above config, there are two steps for the deployment stage "PROD"

      Expected Results

      Promote button shown on the deployments page to promote the build from Test environment to PROD

      Actual Results

      No promote button shown on the deployments page to promote the build from Test environment to PROD

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Swetha Boyapati
            Votes:
            14 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: