🚀 JWT 3.0 is out 🚀 

The app was completely overhauled, and so was the documentation: Jira Workflow Toolbox (Server/Data Center) Home

The page you are viewing is still valid for all app versions prior to 3.0.

On this page


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


Copy parsed text to a field

Related Usage Examples