Versions Compared

Key

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


Features used to implement the example



Example: Parse Email adresses to watchers list

In this example email adresses of Jira users will be comma seperated entered in a text custom field. By these adresses 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 adresses.
  • %{10400} is field code for a text custom field where the email adresses 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 adresses to the custom field when the create issue screen, they will be added as watchers.


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 in ("example","post-function")