Notifications for Issue Updates erroneously say Issue was Created

I'll regularly get notification emails that an issue has been created, even though it has merely been updated. For example, this morning I got the following email:


However, the only change I actually made to the issue was to update the status to "UA Ready":


In case it's relevant, the name of this transition is not even created:


How can this be fixed?

2 answers

1 accepted

This widget could not be displayed.

If it's a transition, what notification you will get will typically depend on what event the transition emits in its post actions within the workflow, and what email template is associated with that event.  Assuming this is a notification due to a standard event, and not something custom, like a notification based on a Script Listener fired event.  In that case, you'd need to have separate listeners/events for create/update so you can select the appropriate template in the event definition.  And a notification sent entirely from a script, well... in that case, anything goes.

Aha, so here is my workflow transition post function and the email template for the event it's firing ( I created a new event, but when I added it, the default email template must have been the created template and I never overrode it.

Yes - so your custom event (Issue ready for UA) is using a system template (Issue Created) In order to create a new event and corresponding template, some work outside of the user interface is necessary. I just upgraded to JIRA 6 so I can help you if you need/want to do that. You need to edit email-template-id-mappings.xml to add your new template (e.g. readyforua.vm) and then edit an existing velocity template by copying it (e.g. issueupdated.vm) and changing its contents accordingly.

I suspect he just wants to use "Issue Updated" instead of "Issue Created" from the standard templates.

This widget could not be displayed.

To re-iterate Jeremy's answer, go to the workflow to see what "event" is being generated by the workflow action "release to UA". It may be "Generic Event", or based on your report maybe it has been set to "Issue Created". Go to the "Post Functions" tab for the workflow and look for something like this: "Fire a Generic Event event that can be processed by the listeners.".

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

176 views 1 3
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