You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Field code
%{issue.watcher}


Read


Returned valueA comma-separated list of user names of current watchers of the issue.
Output data type

TEXT LIST

Example outputusername1, username2, username3


Write


Additional information for writing valuesSets watchers of an issue. Can be used to add or remove watchers to linked issues, sub-tasks or issues returned by JQL, but requires to use operator '+' and '-'. Also can be used to copy watchers between issues.

Allowed input TEXT

comma separated list of user names, group names or project roles names.

Allowed input NUMBER


Example input

Albert, Richard, John

+ Developers, Administrators

- Testers, Administrators, + Albert, Richard

Prefixes + and - can be used to add or remove single users or set of users.

Albert, Richard, John : sets 3 users as watchers replacing current ones.

+ Developers, Administrators : adds every user in project roles or groups Developers and Administrators to current watchers.

- Testers, Administrators, + Albert, Richard : removes users in project roles or groups Testers and Administrators and adds users Albert and Richard as watchers.