• Icon: Suggestion Suggestion
    • Resolution: Answered
    • None
    • Stages, Variables
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Currently it is possible to use a variable value, but not to change it while a task is running.

      This would be useful to allow one Task/Stage to store a value in the server so that other Task/Stage can have access to it.

      Atlassian answer

      Modifying global and plan variables will not be implemented due to concurrency issues that would be created.

      However, since Bamboo 5.7 you can use Inject Variables task to add variables to "result" scope and use them later on, in subsequent Task, Stages and to create deployment release.

            [BAM-10272] Allow Tasks to change Global and Plan variables

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3016701 ] New: JAC Suggestion Workflow 3 [ 3612367 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2700715 ] New: JAC Suggestion Workflow [ 3016701 ]
            Owen made changes -
            Issue Type Original: Improvement [ 4 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1417036 ] New: Confluence Workflow - Public Facing v4 [ 2700715 ]
            Alexey Chystoprudov made changes -
            Description Original: Currently it is possible to *use* a variable value, but not to *change* it while a task is running.

            This would be useful to allow one Task/Stage to store a value in the server so that other Task/Stage can have access to it.
            New: Currently it is possible to *use* a variable value, but not to *change* it while a task is running.

            This would be useful to allow one Task/Stage to store a value in the server so that other Task/Stage can have access to it.
            h3. Atlassian answer
            {quote}Modifying global and plan variables will not be implemented due to concurrency issues that would be created.

            However, since Bamboo 5.7 you can use Inject Variables task to add variables to "result" scope and use them later on, in subsequent Task, Stages and to create deployment release.
            {quote}
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 617471 ] New: Bamboo Workflow 2016 v1 [ 1417036 ]
            Marcin Gardias made changes -
            Resolution New: Answered [ 9 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 603362 ] New: Bamboo Workflow 2014 v2 [ 617471 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 355225 ] New: Bamboo Workflow 2014 [ 603362 ]
            James Dumay made changes -
            Labels New: pm

              Unassigned Unassigned
              rbattaglin Renan Battaglin
              Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: