Versions Compared

Key

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


Section


Column
width30%600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column




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:

Image RemovedImage Added Image Removed


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:


Image RemovedImage Added


Once configured, transition will look like this:


Image RemovedImage Added



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 = "post-function"

Section


Column
width600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column