This page last changed on Jun 14, 2009 by rosie@atlassian.com.

In JIRA, emails may be periodically fetched (eg. via POP or IMAP) and processed (eg. create a new issue, create a comment). You can add new ways of processing emails by implementing the MessageHandler interface in JIRA (or subclassing one if its implementations).

MessageHandlers
For more information on MessageHandlers, including API documentation and source to the system handlers, see the documentation

After writing your MessageHandler implementation, this is how to get it into JIRA:

  1. Compile your handler and add it to the JIRA classpath (either as a JAR in WEB-INF/lib or as a class in WEB-INF/classes). JIRA Standalone has an external-source directory whose README describes a quick way to compile source (see JIRA Standalone quick source modifications).
  2. Add your handler to the services/com/atlassian/jira/service/services/pop/popservice.xml
  3. Restart JIRA

You should now be able to select your own MessageHandler when configuring a POP service.

Document generated by Confluence on Oct 06, 2009 00:31