No email notifications on custom transition

Hi there,

A custom transition I have created has a post function which assign the issue to the reporter. My notification scheme has the Issue Assigned event set to notify the Current Assignee.

When an issue goes through the transition, it is rightfully assigned to the reporter yet no email is sent (to the reporter, ie the current assignee.) I have monitored the Mail Queue but nothing happens when I trigger the transition.

The Notification helper confirms that users should get the notifications and if I manually assing the issue to the user, they do receive an email.

Any advices?

Thanks

3 answers

1 accepted

This widget could not be displayed.

You do not mention what "event" your transition fires.

The thing that causes an email to go out is a built-in listener which picks up events. Events are fired in several places, but these boil down to two types.

System events are fired by activity in Jira. These are fixed and unmodifiable - edit issue always fires updated, comment on issue fires comment, version changes fire the version related events, delete, move, log work, etc. Most relevant here is that the action "assign issue" (and assign to me) fires the "issue assigned" event.

Secondly, transitions fire events. That's a post-function on the transition and you can choose what event to fire.

I think the problem you have here is that you are assuming that "changing assignee during a transition" triggers "issue assigned". It does not. It's a transition. It *only* fires the event named in the post function. Whereas "manually assigning" fires "issue assigned"

This is a very long standing bug in Jira - the ideal fix would be for Atlassian to implement "fire issue assigned if assignee changes, irrespective of how it's changed".

You are exactly right. Thanks for the clarification.

My transition is firing a Generic event. Assuming that this transition will *always* result in a new assignment, I guess it would be ok to change the Generic event to an Issue Assigned event. Would you advise against that?

If it's always going to reassign, then absolutely! Change the event fired to "issue assigned"

This widget could not be displayed.

I might add that I am using multiple accounts to test this so the problem is not related to the Notify Me option.

This widget could not be displayed.

This is the JAC issue mentioned:

https://jira.atlassian.com/browse/JRA-12362

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

256 views 5 0
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