Project

General

Profile

Any one knows about "Custom workflow" to remove all watchers when status changed?

Added by Terence Lien about 4 years ago

Any one knows about "Custom workflow" to remove all watchers when status changed?

plugin: redmine_custom_workflows

there only can find an example about add_watcher,
=> self.add_watcher(self.assigned_to) unless self.watched_by?(self.assigned_to)

please help me, could you provide about remove all watchers in issue.

ex: self.remove_watcher(???)

thank you very much!!