Versions Compared

Key

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


Section


Column
width600px


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: Parse Email adresses to watchers list

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

For this the post function Copy parsed text to a field is needed.



Text to be parsed is: toString(textOnStringList(toStringList(%{10400}, ", "), toString(usersWithEmail(^%))))


Note that:

  • Before setting up the post function a custom text field is needed for storing the email addresses.
  • %{10400} is field code for a text custom field where the email addresses get stored. In your instance this code might be different


Once configured, the transition will look like this:


When now creating a new issue and adding the email addresses to the custom field when the create issue screen, they will be added as watchers.


(info) When adding the Jira usernames to another custom field a JWT text custom field can be used instead. The code line won't change and a post function is not needed.



Other examples of that function

Incoming Links
pageCopy parsed text to a field
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "post-function"