Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a possibility of limiting the content sent via Webhooks? #2830

Closed
thomasjac opened this issue Nov 27, 2019 · 2 comments
Closed

Is there a possibility of limiting the content sent via Webhooks? #2830

thomasjac opened this issue Nov 27, 2019 · 2 comments

Comments

@thomasjac
Copy link

we use Wekan and we think it's great. We also use Mattermost and we have connected Wekan with Mattermost via Webhook. Now all activities in Wekan are automatically posted in Mattermost. Our question is whether there is a possibility of limiting the content sent? e.g. that selecting a card or adjusting the start time of a task should not sent. I didn't find anything about this in the documentation.

@xet7
Copy link
Member

xet7 commented Nov 27, 2019

1) Webhooks Attributes

https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys#list-of-supported-keys

What to send to Outgoing Webhook, or leave out.
Example, that includes all that are default:

cardId,listId,oldListId,boardId,comment,user,card,commentId .

To enable the Webhooks Attributes of Wekan:

snap set wekan webhooks-attributes=cardId,listId,oldListId,boardId,comment,user,card,commentId

Disable the Webhooks Attributest of Wekan to send all default ones:

snap set wekan webhooks-attributes=''

2) Card opened webhook

From Wekan Snap help:

wekan.help | less

This setting #2518

Card opened, send webhook message. Default: false 
Enable:
        $ snap set wekan card-opened-webhook-enabled='true'
Disable, default:
        $ snap set wekan card-opened-webhook-enabled='false'

For Docker, same settings at docker-compose.yml at https://github.com/wekan/wekan

3) Wekan Admin Panel

Wekan Admin Panel has Global Webhooks, but I don't know does that help.

Question

Does this answer your question? Or do you mean something else?

@thomasjac
Copy link
Author

perfect, thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants