Where in the source code is the CreateOrComment mail handler code?

Nick McCarthy April 16, 2012

Hi,

I want to modify the Jira CreateOrComment mail handler to make it fit with our requirements; I've downloaded the Jira 5.0.2 source code but I cant locate the source code for the standard mail handlers.

I assumed it would be in a file called something like CreateOrCommentHandler.java but I can't locate any such file..?

Apologies this seems trivial but I simply can't find it!

Any advice on where this code resides would be greatly appreciated.

Thanks,

Nick

1 answer

0 votes
Verhás István
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.
June 4, 2012

It is at

verhasi$ find ~/Downloads/atlassian-jira-5.0-source/ -iname createorcomment\*
/Users/verhasi/Downloads/atlassian-jira-5.0-source//jira-project/jira-components/jira-plugins/jira-mail-plugin/src/main/java/com/atlassian/jira/plugins/mail/handlers/CreateOrCommentHandler.java
verhasi$

But

"It is also worth checking the plugin exchange for plugins with extended mail handlers that are capable of adding more details on the issue while creation like custom field values. Some of them have far better filtering mechanisms as well." from JIRA Development Cookbook by Jobin Kuruvilla

Suggest an answer

Log in or Sign up to answer