mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Outgoing Webhooks setCustomField: Add board name, card name, custom field name to be visible.
Still missing: custom field value, list name, swimlane name. Thanks to xet7 !
This commit is contained in:
parent
12795c5995
commit
2003d90467
3 changed files with 12 additions and 6 deletions
|
@ -189,7 +189,9 @@ if (Meteor.isServer) {
|
|||
if (activity.customFieldId) {
|
||||
const customField = activity.customField();
|
||||
params.customField = customField.name;
|
||||
params.customFieldValue = customField.text;
|
||||
params.customFieldValue = Activities.findOne({
|
||||
customFieldId: customField._id,
|
||||
}).value;
|
||||
}
|
||||
// Label activity did not work yet, unable to edit labels when tried this.
|
||||
//if (activity.labelId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue