| Object | watchers |
| Fields |
The list of users watching the issue |
| Introduced in | 0.5 |
Fields
| # | Field name | Comment | Object type |
|---|---|---|---|
| 1 | watchers |
|
An array of users |
Example
# Add project lead as watcher
issue.watchers += issue.project.lead
# Add DB component lead ad a watcher
issue.wathcer+= issue.project.components.find{it.name =="DB"}?.lead