How do I send a notification based on custom issue type?

Blia Xiong April 3, 2015

I've looked at https://confluence.atlassian.com/display/JIRAKB/How+To+Send+Notifications+By+Issue+Type and https://confluence.atlassian.com/display/JIRA/Adding+a+custom+event, which is very helpful. But the Events seems to be targeting issue event (issue create, issue updated, etc) vs issue type (Bug, New Feature, etc). Please let me know if it is possible to send out notifications when a certain issue type, like when a Bug or New Feature is created, not on issue events. Thanks in advance.

3 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2015

Yes and no.

There are two types of thing you can to to an issue.

  1.  An action - these update the issue in some way, but do not move it on in the process (workflow).  Editing an issue, commenting on it, reassigning it, cloning, deleting, logging work, etc.  These actions have nothing to do with the type of the issue, they apply to all issues.  The can be allowed/prevented by permissions and so-on, but they do the same thing - an edit is an edit, a worklog is a worklog...
  2. transition - these change the status of an issue.  Including "issue does not exist" -> "issue is new".   A workflow is a description of all the possible transitions.  The workflows can be set by project and issue type, and every transition has a "fire event" post-function.  So you could define different workflows that fire different events for "issue created" for each different case you need.

 

 

0 votes
JonasC January 7, 2016

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.

Daniel Lowe March 20, 2019

@JonasC any chance of your plugin being made available for cloud?

JonasC March 21, 2019

@Daniel Lowe , I think there are plugins for it for Cloud

Daniel Lowe March 21, 2019

@JonasC no unfortunately there isn't :-( 

https://marketplace.atlassian.com/apps/1214374/issue-type-notification-schemes?hosting=server&tab=overview&_ga=2.208920853.686934861.1553052969-43316605.1541557751

check the dropdown on that page. I've tried searching from my Jira Cloud instance and it doesn't show as it's not available.

JonasC March 22, 2019

@Daniel Lowe , 

Send me description of your use case jonas@koncis.net

 

I cannot promise anything

BR Jonas

0 votes
David Nickell April 4, 2015

Nic is correct in his explanation.  Another alternative is to set up a filter that looks for new issues of a specific type created in the past "x" minutes.   Run a subscription at that same (or shorter) interval and you can get an email sent when those new issues appear.   But it is not an immediate notification (as is Nic's transition suggestion)

Suggest an answer

Log in or Sign up to answer