Add a new EVENT

MarcoC March 12, 2013

Hi!!!

I would like to send an email notification when a custom field of an issue, is changed. Is it possible?

example: I have a customfiled named "PlannedDate" and if someone change this value in an issue, I wold to send an email to a few user.

In the Notification SCheme I saw that I have a lot of default event, but it is possible to create a custom event like this?

Regards,

Marco

3 answers

1 accepted

0 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
March 12, 2013

This is not possible wihout some development/scripting. You will have to write a listener to check if the custom field is changed and then throw a custom event.

MarcoC March 12, 2013

Thanks. I think I wold change strategy.

Regards,

Marco

Ramiro Pointis
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.
March 12, 2013

Using the script I commented below it's very easy to create a listener. Give it a try. There's a lot of documentation, from experience :D

1 vote
Ramiro Pointis
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.
March 12, 2013

Hi Marco, you could try the Script Runner plugin. It has Builtin Script Listeners that you can configure to send a custom mail as notification.

Hope this helps!

1 vote
Jacques
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.
March 12, 2013

What you could do is create a circular transition called "Set Planned Date" that returns to the same status as where it's called from and assign it a new event (which you can create in "Admin - Advanced - Events").

If you wish to send a custom mail with it's own HTML and different from the typical JIRA email, then I suggest you look into the "Email This Issue Plugin".

Hope this helps,

Jacques.

Suggest an answer

Log in or Sign up to answer