Versions Compared

Key

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

Table of Contents
maxLevel1

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 Added


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"