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

bamboo_shortPlanName environment variable doesn't actually contain plan name

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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.

      The bamboo_shortPlanName environment variable contains the plan name when building the default branch, but contains the branch name for branch builds.  I consider this a defect, not a improvement. But your JIRA configuration wouldn't allow be to create a "bug" and told me to raise a support ticket, and your support staff told me to file an enhancement request.

      While the bamboo_buildPlanName and bamboo_planName contain the plan name, it can not be extracted with 100% reliably because the character sequence " - " used to delimit project and plan names are valid in project and plan names themselves.

      I filed BAM-17988 to request a new environment variable for the project name, but to be truly useful we also need a plan name environment variable that contains the plan name (it makes no sense to me why bamboo_shortPlanName does not).

      In general, I find it more separate values more useful than composite or derived values. It's usually easy to paste two or more variables together; it's often much harder (or impossible) to extract individual values from a composite.  For example, I averaged 60 miles/hour on my commute this morning – how long did I take to get to work?

      Ideally there wouldn't be variables like bamboo_buildPlanName or bamboo_planName at all, as users that need a string with project name + plan name + branch name + job name could construct it out of component parts (Of course, now that these exists they can't be removed, I'm just using this an example of the principle).

            [BAM-17990] bamboo_shortPlanName environment variable doesn't actually contain plan name

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3018296 ] New: JAC Suggestion Workflow 3 [ 3597842 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2702279 ] New: JAC Suggestion Workflow [ 3018296 ]
            Owen made changes -
            Issue Type Original: Improvement [ 4 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1619977 ] New: Confluence Workflow - Public Facing v4 [ 2702279 ]
            Marcin Gardias made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Needs Triage [ 10030 ] New: Resolved [ 5 ]

            I opened BAM-17997 which is correcly classified as bug, so I'm closing this one

            Marcin Gardias added a comment - I opened BAM-17997 which is correcly classified as bug, so I'm closing this one
            Marcin Gardias made changes -
            Link New: This issue is duplicated by BAM-17997 [ BAM-17997 ]
            Deleted Account (Inactive) created issue -

              Unassigned Unassigned
              0f874aab-fb4e-4fbd-829b-2de222f251da Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: