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?
It's fairly easy — you can just add a rule like this:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.