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)

Hi,

I created this plugin: https://marketplace.atlassian.com/plugins/net.koncis.atlassian.issue-type-notification-schemes/server/overview

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,307 views 14 20
Join discussion

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