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 ]
Different example:
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: