The following tutorial http://blogs.codehaus.org/people/vmassol/archives/000842_writing_a_jira_3_plugin.html explains how to send notification emails on custom transitions. This is particularly useful with JIRA 3 as JIRA 3 does not yet offer notification scheme events for custom steps of a workflow.

Comments (10)
Mar 16, 2006
Matt Kenigson says:
As is mentioned in the comments for that blog entry, that plugin stopped working...As is mentioned in the comments for that blog entry, that plugin stopped working as of JIRA v. 3.2 due to changes in the way that transientVars are handled. (see http://confluence.atlassian.com/pages/viewpage.action?pageId=116700).
I have updated the plugin to work with JIRA 3.5. Please note that I'm an absolute beginner as far as writing java or dealing with JIRA plugins, so please test this thoroughly before using it in a production environment and let me know of any issues you come across.
I am attaching my updated jar as well as a zip file with the updated code. Note that I develop using eclipses and maven and so my source zip is likely to have some eclipse and maven stuff in there.
Jan 05, 2007
Imran Ahmad says:
Hi Matt, I'm looking to update this plugin with 3.6 compatibility, however it lo...Hi Matt,
I'm looking to update this plugin with 3.6 compatibility, however it looks like the attached zip file is corrupted. Please verify.
Thanks, imran
Nov 23, 2006
Ville Jyrkkä says:
Does this work in 3.6.5? Have anyone tested this?Does this work in 3.6.5? Have anyone tested this?
Nov 28, 2006
Ville Jyrkkä says:
It didn't send message between transition, but it sent error message. I attach t...It didn't send message between transition, but it sent error message. I attach the error message here, if somebody is able to fix it and get this plugin work.
Dec 12, 2006
Yudong Song says:
I am trying to test the send notification post function. I was able to compile a...I am trying to test the send notification post function. I was able to compile and deploy it to the server. But, how do I configure it? From Vincent Massol's post, there is a screen from that I can add the post function to a transition. Where is it to add the post function and configure the parameters? Thanks in advance.
Yudong
Dec 12, 2006
Ville Jyrkkä says:
It's workflow function. You need to add post function to workflow transition whe...It's workflow function. You need to add post function to workflow transition where you want to use it.
There you can also configure the parameters.
Dec 12, 2006
Yudong Song says:
Thanks for your reply. You are right, and that is my quesiton. How to configure?...Thanks for your reply. You are right, and that is my quesiton. How to configure? I went to workflow screen, clicked all the links and did not see the sreen for the configuration. Any one can tell me how to navigate to the configuration screens? thanks.
Dec 13, 2006
Ville Jyrkkä says:
When you're in Administration screen, there's "Workflows" under Global Settings ...When you're in Administration screen, there's "Workflows" under Global Settings at left.
When in Workflow screen, click the Workflow "Steps" where you want to add this function and then the transition where you want to add the function.
There's Post functions tab. Click "Add" and select "Send Notification mail" post function. After that you can set the parameters.
I hope this helped you.
Sep 04, 2007
Matt Doar says:
Before I do the work, has anyone else got this plugin working with a Jira releas...Before I do the work, has anyone else got this plugin working with a Jira release after 3.6? Ideally, I want it working in 3.10+
Update: the problem is in sendmail-function-mail.vm where the velocity macros being called are all out of date. It wouldn't be too hard to copy more current ones from the standard Jira .vm files, but since I was doing a custom mail template anyway, I haven't updated the source.
~Matt
Apr 03
Nathan says:
Does anyone know where I can get this updated jar to use this addin? I am not ha...Does anyone know where I can get this updated jar to use this addin?
I am not having much luck solving my email issue.
Thank you -