Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width30%
Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1

Column



Features used to implement the example



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:


Excerpt Include
Set a watcher at ticket creation depending on custom field's value
Set a watcher at ticket creation depending on custom field's value
nopaneltrue



Other examples of that functions

Set a field as a function of other fields

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


Add or remove watchers

Incoming Links
pageAdd or remove watchers
labelsexample

Related Usage Examples

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