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

        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: