How can I send notifications to an email address based on Issue Type?

I want to be able to send a notification to an email address based on an issue type for a project. At first I thought I could just copy my workflow and associate multiple workflow schemes that had been associated with different issue types, though I can't seem to get more than one workflow scheme associated with a project, actually I can get two but one ends up being the default JIRA and the last one that I assigned.

Now I'm thinking I may have to resort to some sort of groovy script to do it.

2 answers

In your current workflow add transitions specific to issue types (you can use condiitons to differenciate transtions specific to issue type)

Then in that particular transtion you can use post functions to specific email address - this should be the simple

That would turn a fairly simple workflow into a very complicated one I think. Since each transition would then need to be duplicated for each of the issue types in question.

It would, but it will do the job you need.

If you want to do it in Groovy, that will work too, but you'll need to subvert much of the email system (i.e. don't send any events that trigger emails via notification schemes, and do it all in your workflow functions, with lots of "if transition X then send mail Y" type things)


I created this plugin:

By defining notification schemes as usual, you can create (with the plugin) issue type notification schemes, and thereby map issue types to notification schemes. 

For instance, Stories goes to project leader, bugs to Support Team, and so on.

I hope that helps you all.

Please let me know if you find any problems using it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,154 views 5 10
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