Example: Set or remove watchers from a workflow transition
This can be done by using the post-function Add or remove watchers selecting from the following operations:
- Add or remove as watcher all users playing a role in the project.
- Add or remove as watcher a user or a list of users whose user names appear in a field. For example, a custom field called "New watchers" of type text-255 and with value "albert, john, sara" can be used to add or remove this three users as watchers from an issue.
- You can also remove all watchers from an issue.
Other examples of that function
- Add watchers based on issue type
- Add watchers from a part of the issue summary: "Summary_text - watcher1, watcher2, watcher3, ..."
- Set a watcher at ticket creation depending on custom field's value
- Set or remove watchers from a workflow transition
- Set watchers depending on the value of a custom field