Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width30%
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: Parsing text from last comment and appending it to issue's summary

I wonder if you can help me again with parsing text from an email that we receive (which shows in the comment obviously) to the end of the summary field of the the Jira ticket. An example of reply is:

Original issue summary: GCI (GI-20265) - Da Vinci Diamonds Dual - Broken- VIP 13

Last comment contains the following reply: Subject: RE: [GCI Jira] (OCC-14813) GCI (GI-20265) - Da Vinci Diamonds Dual - Broken- VIP 13 [ ref:_00D30iVRS._50014smU7L:ref ]

Desire result of the summary: [GCI Jira] (OCC-14813) GCI (GI-20265) - Da Vinci Diamonds Dual - Broken- VIP 13 [ ref:_00D30iVRS._50014smU7L:ref ]

  • The invariant parts of the prefix is the summary of the original ticket
  • The suffix should be everything which is within the brackets

Different example:

  • Original summery: "Bonus Game Issue. Indiajaya"
  • Response from IGT received as an email which contain the following Subject: "Subject: RE: [GCI Jira] (OCC-14436) Bonus Game Issue. Indiajaya [ ref:_00D30iVRS._50014slPqN:ref ]"
  • Desired summary: "Bonus Game Issue. Indiajaya [ ref:_00D30iVRS._50014slPqN:ref ]

We will implement it with 2 post-functions:

Parse field for extracting data with the following configuration:


Copy a parsed text to a field with the following configuration:



Text to be parsed is: %{00000} + (%{00000} !~ "[ ref:" AND %{00061} != null ? " [ ref:" + %{00061} + ":ref ]" : "")


Once configured, your post-functions will look like this:



Other examples of that functions

Parse field for extracting data

Incoming Links
pageParse field for extracting data
labelsexample


Copy parsed text to a field

Incoming Links
pageCopy parsed text to a field
labelsexample

Related Usage Examples

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