mattermost-plugin-gitlab icon indicating copy to clipboard operation
mattermost-plugin-gitlab copied to clipboard

Make issue label updates a separate subscription

Open caugner opened this issue 4 years ago • 1 comments
trafficstars

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

caugner avatar Jul 08 '21 12:07 caugner

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.

mickmister avatar Jan 26 '22 20:01 mickmister

Closing due to inactivity. Issue can be reopened with more interest from our community.

wiersgallak avatar Jun 14 '23 01:06 wiersgallak