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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

244 views 1 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