Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.0.1, 5.1
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.