Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel1

Features used to implement the example



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

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

It will work with a comma separated list of user names and groups names. (I will include support for project roles in version 2.1.19 of the plugin). Anyway, you can use post-function Set a field as a function of other fields selecting virtual field "Watchers" as target field, and using prefix '+' to indicate that the users must be added to current watchers, and avoid them to replace current watchers.

I show you how to do it in the following screenshot:



Other examples of that function

Incoming Links
pageSet a field as a function of other fields
labelsexample

Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "custom-field"

Table of Contents
maxLevel1
typeflat

Features used to implement the example

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

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

It will work with a comma separated list of user names and groups names. (I will include support for project roles in version 2.1.19 of the plugin). Anyway, you can use post-function Set a field as a function of other fields selecting virtual field "Watchers" as target field, and using prefix '+' to indicate that the users must be added to current watchers, and avoid them to replace current watchers.

I show you how to do it in the following screenshot:

Image Removed

Other examples of that function

Incoming Links
pageSet a field as a function of other fields
labelsexample

Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "custom-field"