Emails not sending to Assignee within ticket

I have an issue where when i assign a user through the ticket itself by updating the Assignee field, the notification does not send to the Assignee. but if i Assign a ticket through the Agile board the email sends with no problem. Not all projects are experiencing this. i have checked the notification scheme and the Assignee should get an email when they are assigned a ticket. i have tested different notification schemes and they work fine. the problem seems to be with only this one project and one notification scheme. The notification scheme is being used on other projects and we are not experiencing this issue. Anyone has an idea?

3 answers

1 accepted

The problem is, that in the case of updating the assignee field, an issue updated event is fired - not an issue assigned event.

If your notification scheme does not sends emails for issue updated events there will be no notification to the new assignee.

A solution could be:

  • Install the script runner plugin
  • Under Script Listeners create a new "Fires an event when condition is true" Listener
  • Select the Issue Updated event in the upper select list
  • Select all projects which dont send out notifications on the issue updated event
  • Enter the following for conditon
    changeItems.any {
    	it.get('field')=='assignee'
    }
  • Select the Issue Assigned event below

If you select a project where the issue updated event sends an email this will send two emails to the user!

Hope this helps
Thomas

As mentioned by Thomas, you would need to check the 'Issue Updated' event in the notification scheme. With his explanation, you could use the 'Assign' button in issue view instead of editing an issue to get the 'Issue assign' event fired.

Thank you. I added the assignee role on the issue update event and now the notifications are firing. Thanks again for you all your help.

Tried this and it is firing the correct event but whenever anyone assigns the issue to a different user it sends a notification that the original reporter of the issue assigned it no matter who actually assigned it. You will first get one email with the correct notification saying that the issue was updated by whoever actually assigned it and then another one saying that the reporter caused the issue assigned event.

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 ...

2,864 views 12 18
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