Issue Created notification for specific Issue Type?

I created a JIRA group For ‘Team X’ that contains the Dev members, Scrum Master and Product Owner (PO).

We want a notification that when either a new Story or Bug is created that we all receive notification. So the P.O. wants to know if the team enters a new Story or Bug so he can prioritize it. Conversely the team wants know when the P.O. creates a new story or bug so they can estimate it.

Basically I want to send a notification of ‘Issue Created’ to the ‘Team X’ group only if the issue type is equal to Story or Bug. Possible?

8 answers

1 accepted

I was able to create a filter that told the team and PO what they wanted to know and then set a daily subscription for the information. Worked great!

2 votes

Actually, this is possible but with some additional configuration. Use different workflows for the different issuetypes and throw different events from those different workflows. You can then use the notification scheme and add different groups in those events.

For example, use a "Story Created" or "Bug Created" event instead of the default "Issue Created" event.

That's a good idea indeed, but it would only apply to workflow transitions, not for events such as Issue Commented or Issue Updated. Still is a good workaround! :)

but it would only apply to workflow transitions, not for events such as Issue Commented or Issue Updated

Yup. Btw, he was asking about "Issue Created" which is thrown from a workflow transition ;)

Indeed, a post function on the Create Issue transition would do the trick!

Hi Pete,

Unfortunately this is not possible without third party plugins and installing those is a Restricted Function in Atlassian OnDemand. We have an open improvement request to have that implemented in JIRA here: JRA-4742. I strongly recommend you to vote for it (so it increases it's priority), add yourself as a watcher (in order to get updates) and if you have the time please add a brief comment so our DEVs can get the customer's point of view on how this should be implemented.

Hope this information helps!

Regards,
Marlon

@Jobin,

I'd like to keep workflows as simple as possbile in JIRA, with all teams for all solutions using the same workflow. However, I may explore your suggestion.

@Marlon,

Thanks, I voted on it and added scenario in the comments that hopefullty presents my case. Is there a third-party option available to On-Demand that would do what I am asking?

Hi Pete,

In short, there is not, notifications are set on a project by project basis and no Built In plugins Avaliable for OnDemand can achieve different notifications schemes by issue type.

Kindly,
Marlon

  1. First, if your group is not created, create it now
  2. Adding a custom event , such as "Project X Bug Created"
  3. Modify Notification Scheme for Project X to add this new event, and notify development-team
    1. Note, Notification Schemes are defined on a per-project basis, so go to Project X, Administer Project, and make sure you are modifying the correct scheme.
  4. To send notifications for a/multiple specific issue type(s), but not all, you will have to create a workflow, a workflow scheme to be used for these specific issues, and associate the two
    1. Go to your workflows, locate the workflow you're currently using for Project X, and click on the "Copy" link to make a copy
      1. Choose an appropriate name (Project X Bugs)
    2. This should bring you to the edit screen.  Make sure you're on the "Text" and not "Diagram"
      1. Click on the "Open" Step
      2. You should see the Workflow Screen and the Workflow Browser in the upper right - click on the "Create" transition
      3. Click on the "Post Functions" tab, and choose "Edit" for the Fire a Issue Created event function
        1. If this does not exist, you can choose "Add" and Fire the event you created in step 2
      4. Change the event to "Project X Bug Created" and update the function
        1. This means that with bugs, only those users associated on the Notification Scheme with the "Project X Bug Created" event will receive notifications when the bug is created.  If you would like the normal "Issue Created" notifications to go out as well, you will need to add those groups/users/roles to this notification as in Step 3 above.
    3. Now you need to create the scheme for this issue type - click on workflow schemes
      1. Click Add Workflow Scheme and choose an appropriate name (Project X Bugs Scheme)
      2. Associate this with your new workflow (Project X Bugs), for issue type Bugs (or as many as you would like)
      3. Associate another workflow, your original for Project X, with All unassigned Issue types
  5. Finally, you need to associate this new scheme with Project X, so that it knows to use your new workflow with Bugs, and the old workflow with everything else
    1. Click on "Projects" in the JIRA Administration menu, and choose Project X
    2. Scroll down to the workflow section, and click on the associated scheme
    3. Click "Switch Screen" and choose your newly created scheme Project X Bugs Scheme
  6. After all of this, you might want to do a background re-index

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,175 views 13 19
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