Yet Another IM Plugin

Name Yet Another IM Plugin - YAIM
Version 0.1
Product Versions Tested with JIRA 3.8.1
Author(s) Bakhtiyor Khodjayev, Sanjar Akhmedov
Price Free
License BSD
Download JAR ya-im-plugin.zip
Download Source ya-im-plugin-src.zip

Description/Features

The JIRA extension sends issue event notifications and can work as a bot. YAIM supports several IM protocols: XMPP/Jabber, MSN Messenger, Yahoo IM, Skype and can be easily extended to support another one.

Installation

Put jars from distribution package to classpath reachable place (if you use standalone JIRA place jars to JIRA_HOME/atlassian-jira/WEB-INF/lib).

Register new IM account for JIRA YAIM plugin (the account will send notifications and work as bot): e.g. for Yahoo IM go to http://yahoo.com/ and register new Yahoo ID.

Install Listener

You need to install JIRA listener (see http://www.atlassian.com/software/jira/docs/v3.8.1/listeners.html)

Listener class names for protocols:

XMPP/Jabber net.esector.jira.im.listener.JabberNotifierListener
Yahoo IM net.esector.jira.im.listener.YimNotifierListener
Skype net.esector.jira.im.listener.SkypeNotifierListener
MSN Messanger net.esector.jira.im.listener.MsnNotifierListener

You can install several listeners, so that you users have choice to select which IM network to use.

Attention

Information for Skype Notifier: You need installed Skype client that can login into Skype account on same machine where JIRA installed. YAIM uses your Skype client to communicate to Skype network in same way as Skype Extras.
You also may need put Skype4Java JNI connectors to accessible path (if you use standalone JIRA place to JIRA_HOME/temp/ JNIConnector.dll or libJSA.so depending on your OS).
Then YAIM Skype Notifier started first time Skype client ask you permission to use Skype:

Permit Skype to use YAIM Plugin.

Configure Listener

Standard parameters of IM notifier listeners are IM account login and password, "Enable Bot" and "Notifiable Statuses" parameters, but may vary depending on IM protocol features.

YAIM makes use of User Property Sets to find IM accounts of JIRA users.
You must specify the key of users property holding IM account ID via "Users Jabber/Yahoo/MSN/Skype ID Property" parameter of Listener

Notifiable statuses of users are fully configurable via "Notifiable Statuses" property of listeners. There you can specify notifiable statuses separated by commas or spaces. Available statuses are ONLINE, AWAY, AWAY_LONG, BUSY and OFFLINE.

IM Protocol ONLINE AWAY AWAY_LONG BUSY OFFLINE
Jabber Available
Free for chat
Away XA Busy Offline
Skype Online
Skype me
NA   DND
SkypeOut
Offline
MSN Online Away
Idle
Out to lunch
Be right back
Busy
On the phone
Offline
Yahoo IM Available
Typing
Idle
Not at desk
Brb
Not in office
On vacation
Out to lunch
Stepped Out
Busy
On Phone
Offline

Usage

Bot Usage

yaim-help - Prints help on specified command
Usage: /yaim-help <Command Name>
Example: /yaim-help comment

view - Prints general information on issue with specified key
Usage: /view <Issue Key>
Example: /view YAIM-1

comment - Comments issue with specified key
Usage: /comment <Issue Key> <Text of the comment>
Example: /comment YAIM-2 Testing comment command on issue YAIM-2

start - Starts progress on issue with specified key
Usage: /start <Issue Key>
Example: /start YAIM-2

stop - Stops progress on issue with specified key
Usage: /stop <Issue Key>
Example: /stop YAIM-2

Known Issues

  • IM Bot activated after first event fired
  • It's impossible to reconfigure listener without JIRA restart, if listener already instantiated

All these issues are side effects of listener alike implementation of YAIM.

Labels

codegeist_2007_jira codegeist_2007_jira Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jun 28, 2007

    Ninad Jambhekar says:

    The Source Code as well as Binay download seems to be corrupted.

    The Source Code as well as Binay download seems to be corrupted.

    1. Jun 28, 2007

      Ninad Jambhekar says:

      Nevemind \!\! It worked for me now... May be it was just a freak incidence.

      Nevemind !! It worked for me now... May be it was just a freak incidence.

  2. Jul 27, 2007

    Marian Andre says:

    Hi, it seems that plugin was compiled with Java 6 however Tomcat 5.5.20 delivere...

    Hi, it seems that plugin was compiled with Java 6 however Tomcat 5.5.20 delivered with JIRA 3.10 is compiled with Java 5 - can you recompile the plugin ?

    Thanks in advance.

  3. Dec 13, 2007

    Jeff Turner says:

    I've created a variant of this at JIRA Jabber Notifier Listener. It only support...

    I've created a variant of this at JIRA Jabber Notifier Listener. It only supports jabber and doesn't support adding comments via IM, but adds a lot of options determining when a user is IM'ed.

  4. Mar 24

    Darren Martz says:

    Has anyone tried this with the Microsoft Office Communicator? It's similar to MS...

    Has anyone tried this with the Microsoft Office Communicator? It's similar to MSN but off an Exchange Server.