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 from a part of the issue summary: "Summary_text - watcher1, watcher2, watcher3, ..."

As in my answer to your previous question you should move the post-function below "Creates issue originally".

On the other hand to add as watchers the list of comma separated users in summary, you should remove the previous part of the summary with post-function Regular expression renderer. I show you exactly how to do it:

Use post-function Copy parsed text to a field to copy "Summary" to an auxiliary field (Ephemeral string 1) that can be modified in second step by Regular expression renderer

Image RemovedImage Added

Image Removed


Use post-function Regular expression renderer to remove the part of the summary preceding the comma separated list of users. We use "Ephemeral string 2" as replacement string because it isn't initialized. Regular expression utilized is "^.*-\s"


Image RemovedImage Added


Use post-function Add or remove watchers  to add users in "Ephemeral string 1" as issue watchers:


Image RemovedImage Added


Once configured "Create Issue" transition looks like this:


Image RemovedImage Added



Other examples of that functions

Copy parsed text to a field

Incoming Links
pageCopy parsed text to a field
labelsexample



Regular expression renderer

Incoming Links
pageRegular expression renderer
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"