Adding job key to plan variables URL allows users to add job variables

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 9.3.0, 9.2.3, 9.1.3, 9.0.4
    • Affects Version/s: 9.2.1, 9.1.2, 9.0.3, 8.2.9
    • Component/s: Variables
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      According to Bamboo variables, Bamboo does not have the support for job variables. However, it's possible to add job variables by directly accessing the <bamboo-url>/chain/admin/config/configureChainVariables.action?buildKey=PROJ-PLAN-JOB.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Create a new plan
      2. Access the plan variables in Actions >> Configure plan >> Variables tab
      3. Change the URL of the previous page and add -JOBKEY at the end of the URL
      4. It will allow you to add job variable to that specific job

       In case you add Dump variables to log task in this plan, the job variable will be printed in the logs like this:

      simple	30-Mar-2023 13:45:42	key: [variable] value: [value] type: JOB
      

      Expected Results

      Either fully implement job variables to Bamboo or remove this bug that allows users to add variables that are not available in the UI or in the Specs.

      Actual Results

      It's possible to add job variables by changing the URL and adding the JOBKEY in the request.

      Workaround

      There's no workaround.

              Assignee:
              Marcin Gardias
              Reporter:
              Karel Miranda
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: