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

Variable values are not getting substituted for deployments when triggered from JIRA

    XMLWordPrintable

Details

    Description

      Variable values are not getting substituted for deployments when a manual stage is triggered from JIRA. Steps to re-produce:
      1. Create a plan in Bamboo with three stages: Stage A, Stage B and Stage C.
      2. Make Stage B and Stage C manual.
      3. Create a deployment project and make it get triggered when the plan completes.
      4. Run the Bamboo plan. It will build stage A and will pause on manual Stage B.
      5. Having Bamboo and JIRA integrated, create a release in JIRA with "Existing Build" and select both manual stages B and C. Then release.
      6. Checking the build results in Bamboo, JIRA version is showing up under the Metadata tab for all stages of the plan and if the variable ${bamboo.jira.version} is used in the tasks, it shows up in the logs. But, checking the deployment project that was triggered by this plan, JIRA version doesn't exist under the variables tab and even if the ${bamboo.jira.version} is used in a deployment task, the value is not substituted in the logs.
      Check screenshots: JIRAVersion_1.PNG to JIRAVersion_4.PNG.

      It's a different scenario if the release is with "New Build". The variable is substituted correctly for all stages and for the deployment as well.
      Check screenshots: JIRAVersion_5.PNG to JIRAVersion_7.PNG.

      Attachments

        1. JIRAVersion_1.png
          162 kB
          Sepideh Setayeshfar
        2. JIRAVersion_1.PNG
          26 kB
          Sepideh Setayeshfar
        3. JIRAVersion_2.png
          131 kB
          Sepideh Setayeshfar
        4. JIRAVersion_2.PNG
          51 kB
          Sepideh Setayeshfar
        5. JIRAVersion_3.png
          116 kB
          Sepideh Setayeshfar
        6. JIRAVersion_3.PNG
          23 kB
          Sepideh Setayeshfar
        7. JIRAVersion_4.PNG
          49 kB
          Sepideh Setayeshfar
        8. JIRAVersion_5.PNG
          28 kB
          Sepideh Setayeshfar
        9. JIRAVersion_6.PNG
          18 kB
          Sepideh Setayeshfar
        10. JIRAVersion_7.PNG
          54 kB
          Sepideh Setayeshfar
        11. JIRAVersion511_1.png
          157 kB
          Sepideh Setayeshfar
        12. JIRAVersion511_2.png
          127 kB
          Sepideh Setayeshfar
        13. JIRAVersion511_3.png
          113 kB
          Sepideh Setayeshfar
        14. OverrideAVariable.png
          170 kB
          Sepideh Setayeshfar

        Issue Links

          Activity

            People

              mgardias Marcin Gardias
              ssetayeshfar Sepideh Setayeshfar (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: