I have a workflow setup to automatically assign tickets to particular users based on another field on creation. The assigning is working fine, but they don't receive an email like they should.
The users have emails that link to distribution groups, so the email should be going out to a group of people.
I have this workflow in a hidden transition that loops back to the open status, so I am unsure if that would cause some kind of issue.
Basically my process is that on create it runs a script to look at a database to find the users location, then there is a post function that will set a custom field support group, then it transitions using the hidden transition, then there is a post function to set assignee based on the support group field.
Why aren't emails being sent to the assignee when they are assigned? The assignee does get an email if I choose them as the assignee on creation manually.
Is there a better way to handle this kind of thing?
Thanks for the help!
I had the template for my new event as issue created, but set it to only a single email address. Doing this I still got two emails. I changed the template to issue assigned and it only sent one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh. This is a Service Desk project, and email notifications are handled differently. I suggest you raise a support request with Atlassian Support for JSD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is the generic email that a reporter gets when they create a ticket through the portal.
created issue email.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you getting two "Issue Created" emails? If so, check the recipients of the notifications for the Issue Created event, maybe there's a mailing list in them?
Or is it another notification email?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I set the new Event up to only go to a single email address, a noreply, but I still get two emails as the reporter saying the ticket was received... So maybe the events are not what is causing it? I'm confused now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made a new one and it is not on my notification scheme and is inactive, however, I still get two notification emails
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try creating a new Event type, select it in the transition, and simply not use it in your notification scheme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I actually changed it from generic event to issue created event. Seems to be working how I wanted it to now, however, the reporter gets two ticket created emails because there is also an issue created event in the create transition. Is there anyway to remove or silence this create transition event? It won't let me remove it by traditional means.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I second David's comment, I believe that a Transition Event will override the Issue Assigned event.
In addition to trying David's suggestion, you could also change the Transition Event to fire the Issue Assigned event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cole,
I believe that's because JIRA will only send every user at most one notification per transition. Maybe you can try removing the Generic Event firing at the end of the second transition.
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I reordered them as you suggested. Now the assignee is getting an email notification saying the status has changed from open to open (because the hidden transition loops back to open after assigning), however, they don't get an email saying it was assigned to them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll copy paste your lists from above so I can be very explicit. This is how I would order the post-functions. I do not know if this is causing your issue with the event notification though, and I don't have the time to reproduce this on the spot right now.
If you are setting field data after the issue is stored, you can run into some major issues. We can reorder the post-functions and try that out.
Create Transition (1)
Other Transition (131)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was thinking about that as well. So you think I should move it up to be step 3 in the second workflow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why are you placing the post-function that updates the Assignee field so low? That may not be the problem here but I feel like that's not right.
Updates to the issue fields should happen before the Change History and Indexing occur.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.