Intermittent failure when two Webhooks notifications added to same plan event

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      If plan has 2 or more Webhooks notifications configured for same event it may cause intermittent errors about missing variables

      Steps to Reproduce

      1. Create plan
      2. Add 2 webhook notifications for Plan completion event
      3. Trigger plan

      Expected Results

      All webhooks notifications are triggered correctly

      Actual Results

      Sometimes webhook sending fails with error

      2025-07-21 20:16:55,181 ERROR [16-NotificationDispatcher-:pool-17-thread-2751] [WebhookTransport] [Webhook id=337117185, name=Build webhook, uuid=5b082651-7e86-48f8-9e47-f511668eb407] Variable not found: date.started
      com.atlassian.bamboo.notification.transports.webhook.VariableNotFoundException: Variable not found date.started
      	at com.atlassian.bamboo.notification.transports.webhook.VariableSubstitutorDecorator.substituteString(VariableSubstitutorDecorator.java:24) ~[atlassian-bamboo-core-9.6.13.jar:?]
      	at com.atlassian.bamboo.notification.transports.webhook.WebhookTransport.sendNotification(WebhookTransport.java:92) ~[atlassian-bamboo-core-9.6.13.jar:?]
      	at com.atlassian.bamboo.notification.NotificationDispatcherImpl.lambda$dispatchNotifications$0(NotificationDispatcherImpl.java:70) ~[atlassian-bamboo-core-9.6.13.jar:?]
      	at org.hibernate.jdbc.WorkExecutor.executeWork(WorkExecutor.java:37) ~[hibernate-core-5.6.15.Final-atlassian-2.jar:5.6.15.Final-atlassian-2] 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Marcin Gardias
            Reporter:
            Alexey Chystoprudov
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: