Content
Updated by Wieland Lindenthal about 1 month ago
Right now, OpenProject sends only direct work package information as payload (Type, Status, Assignee, ...) but doesn't include comments. That is unfortunate as a comment can be as important as a status transition. For a useful integration we need to build that comments get transmitted via webhook calls, too.
**Acceptance criteria**
In the form for setting up or editing a webhook in the **Enabled events** section
* **Work packages** has been renamed to **Work package changes**
* **Work package changes** will not fire on adding comments.
* There are two more events below **Work package changes**
* **Work package normal comments:** \[ \] Created
* **Work package internal comments:** \[ \] Created
* The payload is the one that would also be retrievable via `/api/v3/activity/{id}` and embeds the information about the author/user sending the comment but also about the model (work package) it belongs to. comment.
**Acceptance criteria**
In the form for setting up or editing a webhook in the **Enabled events** section
* **Work packages** has been renamed to **Work package changes**
* **Work package changes** will not fire on adding comments.
* There are two more events below **Work package changes**
* **Work package normal comments:** \[ \] Created
* **Work package internal comments:** \[ \] Created
* The payload is the one that would also be retrievable via `/api/v3/activity/{id}` and embeds the information about the author/user sending the comment but also about the model (work package) it belongs to.