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

Compare with Current View Page History

« Previous Version 3 Next »

On this page

Use case

Add to an issue only the users of a group that are active as watchers . In this use case, the group will be Administrators.


Configuration

Add the Update or copy field values post function to the desired transition or create a new transition.

Target issue

Choose Current issue

Fields

Field

Choose the New watchers field.

Value

Choose Set field value manually

Expression

Use the following expression with the expression editor in Advanced text mode.

toString(filterByPredicate(usersInRole("Administrators"), isActive(^%)))

This expression will add all of the active users in the Administrators role as watchers.


Related use cases


If you still have questions, feel free to refer to our support team.