mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
9be22f95c4
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>