Predefined-Webhook and custom payload Webhook not working

Hello, I have already open issue on Github about this issue, sorry. But there is the issue.

Used Zammad Version

6.1.0 and 6.1.0-1 and develop

Environment

  • Installation method: Docker and package
  • Operating system: Debian GNU/Linux 12 (bookworm)
  • Database + version: postgresql 15.3
  • Elasticsearch version: 8.8.0
  • Browser + version: firefox 120

Actual behaviour

Hello,

I tried to setup Predefined-webhook and standard webhook with custom payload, but nothing appens in the UI. So I take a look into Scheduler logs and the following is what I’ve found.

I tried to test with zammad docker in version 6.2.0, 6.2.0-1 and develop with docker and package installation but the result remains the same.

I tried many options in webhook config. The issue still appens even if I use Mattermost predefined webook with predefined settings.

ERROR -- : 2023-12-14T17:28:15+0000: [Worker(host:64498d13f07f pid:1)] Job TriggerWebhookJob [bc88f77d-d70e-4a04-815a-4fca02df8165] from DelayedJob(default) with arguments: [{"_aj_globalid"=>"gid://zammad/Trigger/1"}, {"_aj_globalid"=>"gid://zammad/Ticket/2"}, {"_aj_globalid"=>"gid://zammad/Ticket::Article/2"}, {"changes"=>{"_aj_symbol_keys"=>[]}, "user_id"=>3, "execution_type"=>"trigger", "event_type"=>"create", "_aj_ruby2_keywords"=>["changes", "user_id", "execution_type", "event_type"]}] (id=36) (queue=default) FAILED (0 prior attempts) with NoMethodError: undefined method `[]' for nil:NilClass

        message: match[:message].presence || '',
                      ^^^^^^^^^^
E, 

[2023-12-14T17:28:15.284521#1-142340] ERROR -- : 2023-12-14T17:28:15+0000: [Worker(host:64498d13f07f pid:1)] Job TriggerWebhookJob [bc88f77d-d70e-4a04-815a-4fca02df8165] from DelayedJob(default) with arguments: [{"_aj_globalid"=>"gid://zammad/Trigger/1"}, {"_aj_globalid"=>"gid://zammad/Ticket/2"}, {"_aj_globalid"=>"gid://zammad/Ticket::Article/2"}, {"changes"=>{"_aj_symbol_keys"=>[]}, "user_id"=>3, "execution_type"=>"trigger", "event_type"=>"create", "_aj_ruby2_keywords"=>["changes", "user_id", "execution_type", "event_type"]}] (id=36) (queue=default) FAILED permanently because of 1 consecutive failures

Can you help me ?

Thanks for your great work on this product !

Expected behaviour

Webhook sent and log append in webhook logs

Steps to reproduce the behaviour

Basic install → setup predefined webhook or custom payload

I’m sure this is a bug and no feature request or a general question.

yes

Also posted on Github:

Please decide for one plattform. You’re keeping people busy twice.

You can check on docker version in 6.2.0-1, It my production version.

thanks

Sorry, ok I’ll keep It on Github.