Allow inject variables and custom variables to work in Bamboo webhook payload

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Notifications, Variables
    • None
    • 1

      Webhook fails to pass custom variable and inject variables in Webhook template giving - com.atlassian.bamboo.notification.transports.webhook.VariableNotFoundException : Variable not found error

      Bamboo separates build-time variables (which live in the agent's memory while the code is compiling) from build variables, plan variabled and global variable.

      When we define say COMMITTER_EMAIL via a script or an "Inject Variables" task, it is saved as a Result Variable. Unfortunately, Bamboo's native Webhook notification engine is often unable to "see" these dynamic variables because it only looks at Plan, Global variables or native Ba,boo variables.

      Also the bamboo.inject.committer.email as the variable in WEBHOOK results in the same error .

      The scope of inject variables are that it will be available in subsequent stages of this plan and in releases created from the result not for the WEBHOOK.

      Allow custom and inject variables to be part of WEBHOOK payload

            Assignee:
            Unassigned
            Reporter:
            Anik Sengupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: