How to strip FW: and RE: from email subject during issue creation

Anthony Pomtree July 15, 2013

Is there a way to strip out or modify an issue summary when creating an issue via email. Since a lot of the issues are created from forwarded emails, it would be nice to be able to strip the "FW: " out of the email subject since that is what is used as the issue summary.

3 answers

1 accepted

0 votes
Answer accepted
LucasA
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.
July 16, 2013

Hi Anthony,

I'm afraid there's no way for JIRA remove the FW and RE headers on the subject. JIRA mail handler doesn't have a parameter for that. I just created an improvement request for that, so feel free to add your notes and suggestions on it:

- https://jira.atlassian.com/browse/JRA-33921

Best regards,
Lucas Timm

1 vote
Radu Dumitriu
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.
July 16, 2013

..... or add a postfunction -after- create to clean it up. That would be fairly easy to do.

Anthony Pomtree July 16, 2013

Would this be using the Update Issue Field post function? If so, how would I specify my field value in order to strip out the characters I wanted?

Radu Dumitriu
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.
July 17, 2013

I was thinking more on JJupin or ScriptRunner

0 votes
Andy Brook [Plugin People]
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.
July 16, 2013

When JIRA cannot, JEMH can, one feature is that you can Subject Cleanup Regexps that match areas of text to be removed, for example Re: and Fw:

Suggest an answer

Log in or Sign up to answer