Versions Compared

Key

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

Table of Contents
maxLevel1
typeflat

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 the issue originally" post-function):

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



Note that:

  • Leading delimiter is regular expression: relates\s+to\s+
  • 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"