On this page


Example: Add watchers based on issue type

I would like to know if I could add watchers based on the issue type.

Yes, you can do it. You have to use two post-functions.

Use post-function Set a field as a function of other fields to set virtual field "Ephemeral string 1" with one or more (comma separated) user names, depending on the value of field issue type:

 


In the example I set "Ephemeral string 1" with "user1" if issue type is "Bug", "user2" if issue type is "New Feature", etc.

Use post-function Add or remove watchers to add users in field "Ephemeral string 1" as issue watchers:



Once configured, transition will look like this:




Other examples of that functions

Set a field as a function of other fields


Add or remove watchers