• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Notifications, Variables
    • None
    • 1
    • 3
    • 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.

      Issue Summary

      Sending a build template webhook using the variable below does fail to be sent.

      ${bamboo.agentWorkingDirectory}
      ${bamboo.buildFailed}
      ${bamboo.build.working.directory}
      ${bamboo.working.directory}
      ${bamboo.planName}
      ${bamboo.hg.cache.directory}
      ${bamboo.shortPlanKey}
      ${bamboo.shortPlanName}
      ${bamboo.shortJobName}
      ${bamboo.shortJobKey}
      ${bamboo.tmp.directory}
      ${bamboo.planKey}
      ${bamboo.git.cache.directory}

      Steps to Reproduce

      1. Create a build Webhook template using the variable any of the variables above;
      2. Configure a build to send notifications using the Webhook template that was just created;
      3. Trigger the build notification

      Expected Results

      The Webhook is sent.

      Actual Results

      The Webhook fails to be sent and the below exception is thrown in the atlassian-bamboo.log file:

      ERROR [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-1] [WebhookTransport] [name=Build Webhook] Variable not found: working.directory
      

       

            [BAM-21408] Some variables are not found in the Webhook template

            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            Alexey Chystoprudov made changes -
            Component/s New: Notifications [ 11622 ]
            SET Analytics Bot made changes -
            Support reference count New: 3
            SET Analytics Bot made changes -
            UIS Original: 16 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 16
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 17 New: 2
            SET Analytics Bot made changes -
            UIS Original: 0 New: 17
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0

              Unassigned Unassigned
              kmiranda Karel Miranda
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: