How do I create an email notification for a workflow transition?

I would like to send an email to a users group once a workflow transition was made

4 answers

1 accepted

1. create a group for the users and add their names to it.

2. add a custom event to your list of available events.

3. edit your workflow for that particular transition (steps, not designer) and add a post function to issue your custom event.

4. in your notification scheme, for that event, have it send a notification to that named group of users from step 1.

This set of steps creates a very specific notification, targeted at one group for one transition for only whichever project(s) uses that notification scheme.


I followed the steps and still it doesn't generate the email notification when the transition is made.

What am I doing wrong?

Well, there are some things I can give you to check.

Do other notifications work? Go to System -> Mail and send a test email, make sure that's working.

If that works, make sure the notification scheme itself is working - add yourself to the notifications for that particular event, and/or add Watchers and then watch the issue, and push another issue through that transition.

If that doesn't work, make sure the notification scheme itself is set up properly - make sure it's associated with the project where you're creating your test issue.

Other things to check - make sure your user emails are correct, and make sure they aren't filtering them out as spam.

Let me know how it goes ...

Thanks Maya for your help.

I verified all the above and still it doesn't work.

I do receive email from the same notification scheme, for the same product and even for the same workflow (simply because I receieve an email for every update of an issue).

However, i can't get the "custom event" to trigger the email.

Are you the one that is making the change that should fire the trigger?  Check your profile settings.  If you have the My Changes property set to Do not notify me, that could be the issue.

Ok, this is very strange, but I set up a scenario like this on my test JIRA, and I couldn't get the notification to a group to work, either, so I added a notification to current user (me), to make sure the event was firing. I got that email, so I removed the notification to current user, leaving only the notification to the group. When I tried a new issue to confirm that I really wasn't getting the email from the group ... it worked, I got the email.

This has got to be some sort of bug, and I have other notifications to user groups that work fine, so I assume there's a particular set of circumstances that trigger it. I would recommend adding and removing other notifications for that event, to see if that forces the user group notification to go out, and then when you do get it to work, file a bug for it. If you let me know the number, I'll log in and vote for it.


 i think my issue is related to this , 

we have 10 groups in servicedesk project,,what we need is when a issue is assigned to a particular group all the users in that group need to get the notification,, 

ihave tried to add in events for ( issue assigned ) i have added the 2 groups the problem is any issue that is assigned to any one in  all the 10 groups triggered email to every one in the 2 groups added , any changes you can help with?

I am also trying to accomplish an automatic email notification for a workflow transition. I want testers to receive an automatic email when developers transition an issue from the "In-Progress" column to the "Testing" column during a Sprint in JIRA Agile. So I took the following steps:

1) Created a custom event called "Begin Testing"

2) Edited the workflow for the particular transition column "Testing" so that the "Begin Testing" event would fire and can be processed by the listeners.

3) I added two users to the custom event of "Begin Testing"

4) I then moved an issue from "In Progress" to "Begin Testing" and those users never received an email notification.

After those steps, I am still not receiving the users are still not receiving an email notification.

You might be looking for the Post Function > Script Post Function > Send Custom Email Here's a sample I found with some relevant JIRA issue variables that will work:

Hello. I got the same problem.

1)Create new notification schema

2)Add new event

3)Assign email to event

4)associate with trainsition post function

but could not receive any notification.


any suggestions pls?

Are you the one that is making the change that should fire the trigger?  Check your profile settings.  If you have the My Changes property set to Do not notify me, that could be the issue.

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

411 views 6 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot