Files
openproject/modules/webhooks
Johlan Pretorius 9be22f95c4 Fix: Add explicit actor field to webhook payloads
Work package webhooks now include a top-level `actor` field identifying
the user who triggered the event (the journal author), separate from the
work package's `author` (the original creator).

  {
    "action": "work_package:updated",
    "actor": { "id": 5, "name": "Jane Smith", "_type": "User", ... },
    "work_package": { ... }
  }

The representer continues to use User.system for payload generation,
preserving custom field visibility. The actor is sourced from the
journal passed to WorkPackageWebhookJob.

Resolves: https://community.openproject.org/wp/69658

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 16:41:10 +02:00
..
2025-07-22 14:54:28 +02:00