Documentation for JIRA 4.0. Documentation for other versions of JIRA is available too.

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 How to Make a JIRA Patch).
  2. Add your handler to the services/com/atlassian/jira/service/services/pop/popservice.xml
  3. Jira を再起動します。

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

  • ラベルなし