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




Features used to implement the example



Example: Parse description for creating issue links

Let's see a configuration that allows creating issue links of type "relates to" simply when we insert sentences like "relates to " + comma separated list of issue keys (e.g. relates to CRM-34, HR-12, HR-25) in an issue's Description. We need to use two post-functions in "Create Issue" transition (after "Creates de issue originally" post-function):

We insert Parse field for extracting data post-function in "Create Issue" transition using the following configuration:


Text to be parsed is: 


Note that:

  • Leading delimiter is regular expression: relates\s+to\s+
Format of the value to be extracted: 
  • Value format is regular expression for matching issue keys, optionally followed by a comma character: (\w+-\d+\s*,?\s*)+

We insert Create issue link post-function in "Create Issue" transition using the following configuration:




Once configured, "Create Issue" transition look like this:



Example result:




Other examples of that functions

Parse field for extracting data

Incoming Links
pageParse field for extracting data
labelsexample



Create issue link

Incoming Links
pageCreate issue link
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "issue-links"