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

shortPlanName contains branch name for plan branches

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 6.10.2
    • 5.9.7, 5.12.3.1
    • Variables

      Summary

      According to https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html bamboo.shortPlanName should contain the name of the plan, however for plan branches it contains the branch name (instead of the plan name).

      Environment

      • Bamboo 5.12.3.1

      Steps to Reproduce

      1. Create a script task that only contains echo ${bamboo.shortPlanName}
      2. Run the plan and look at the log - you will see the plan name being output
      3. Create a plan branch

      Expected Results

      The name of the plan is output.

      Actual Results

      The name of the branch is output

      Workaround

      There is no known workaround

            [BAM-17810] shortPlanName contains branch name for plan branches

            Alexey Chystoprudov made changes -
            Link New: This issue follows BAM-20908 [ BAM-20908 ]

            We are also affected by this after upgrading to 6.10.4.  Any updates on a fix for this?

            Suba Bhakta added a comment - We are also affected by this after upgrading to 6.10.4.  Any updates on a fix for this?
            Daniel Santos (Inactive) made changes -
            Link New: This issue causes BAM-20668 [ BAM-20668 ]
            Marcin Walerianczyk made changes -
            Fix Version/s New: 6.10.2 [ 89592 ]
            Fix Version/s Original: 6.10.0 [ 86205 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1588454 ] New: JAC Bug Workflow v3 [ 3384526 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Alexey Chystoprudov made changes -
            Link New: This issue is duplicated by BAM-20508 [ BAM-20508 ]
            Alexey Chystoprudov made changes -
            Fix Version/s New: 6.10.0 [ 86205 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            Alexey Chystoprudov made changes -
            Assignee New: Alexey Chystoprudov [ achystoprudov ]

            We are also affected by this issue with Bamboo 6.8.1. We are going to use the workaround suggested by Jonathan Lynch for now, but it would be nice if this could be fixed soon.

            Tobias Wächter added a comment - We are also affected by this issue with Bamboo 6.8.1. We are going to use the workaround suggested by Jonathan Lynch for now, but it would be nice if this could be fixed soon.
            Krystian Brazulewicz made changes -
            Rank New: Ranked higher

              achystoprudov Alexey Chystoprudov
              cglockner Christian Glockner
              Affected customers:
              17 This affects my team
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: