mattermost-plugin-gitlab
mattermost-plugin-gitlab copied to clipboard
Make issue label updates a separate subscription
GitLab sends an Issue event ...
when an issue is created, updated, closed, or reopened
Unfortunately, this also applies to label assignments, and causes a lot of noise in the channel.
Therefore it would be nice, if ~~specific event types, such as "Issue updates", could be ignored~~ issue label updates could be subscribed/unsubscribed separately from other issue events.
The issue label updates are handled here: https://github.com/mattermost/mattermost-plugin-gitlab/blob/f96cb41e4dff07a9f9fc3f7360ee45768a7dd323/server/webhook/issue.go#L78-L81
Thanks for reporting this @caugner :+1:
In order to make this backwards-compatible, we'll need to treat the current subscription options the same as they work today. I suggest we add an "issue updated excluding labels" subscription option.
Closing due to inactivity. Issue can be reopened with more interest from our community.