🚀 JWT 3.0 is out 🚀 

The app was completely overhauled, and so was the documentation: Jira Workflow Toolbox (Server/Data Center) Home

The page you are viewing is still valid for all app versions prior to 3.0.

On this page

Features used to implement the example

Example: Parse Email adresses to watchers list

In this example, a comma separated list of email addresses of Jira users are entered in a text custom field. By evaluating these addresses, the specific Jira users should be added to the watchers list on issue creation.

This can be done using the Update issue fields post function:

  • Select the New Watchers virtual field and confirm by clicking Add
  • Switch Value type to Parsed text (advanced mode)
  • Add Text to be parsed: toString(textOnStringList(toStringList(%{nnnnn}, ", "), toString(usersWithEmail(^%))))

Note that:

  • Before setting up the post function, a custom text field is needed for storing the email addresses
  • %{nnnnn} has to be replaced with the field code of this custom field containing the email addresses
  • Like always, post functions within the Create transition have to be placed after the Creates the issue originally one

Once configured, the transition will look like this:

Other examples of that function