How do I strip RE:, FWD:, and another email junk from my issue summaries?

Huw Evans
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2018

In Automation for JIRA, how do I remove things like Re:, Fw:, and another things that email clients add to the start of email titles that might end up in my Jira instance?

1 answer

1 accepted

1 vote
Answer accepted
Huw Evans
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2018

It's fairly easy — you can just add a rule like this:

Screen Shot 2018-01-30 at 12.12.19 pm.pngScreen Shot 2018-01-30 at 12.13.44 pm.png

We can automatically strip out any of these problems in most major languages using the following regex (copy and paste this into the 'Summary' box like above):

{{issue.summary.replaceAll("(?i)([\[\(] *)?(RE?S?|FYI|RIF|I|FS|VB|RV|ENC|ODP|PD|YNT|ILT|SV|VS|VL|AW|WG|ΑΠ|ΣΧΕΤ|ΠΡΘ|תגובה|הועבר|主题|转发|FW?D?) *([-:;)\]][ :;\])-]*|$)|\]+ *$", "")}}

This will automatically run whenever the summary changes

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events