Example: Set watchers depending on the value of a custom field

I want to add a watcher to a ticket upon creation depends in another custom field value. For example: I see in our customer CF the value "BT" I want to set "bt user" as watcher


You can do it adding the following two post-function to transition "Create issue":

Look at the screenshots:




Related Usage Examples