notification about closing issue is not sent

I have set notifications about closed issues to be sent to Reporter too, but the notification is not sent. Notifications about comments work fine though.

I've also tested it with my own issues and with My Changes on, but I don't get any notifications about closing or re-opening issues.

When I tested it with Notification Helper, the result was that the notification should have been sent, but in actual case I didn't get this notification.

4 answers

1 accepted

1 vote
Accepted answer

It happens only with closing issues.

Post-functions declared for closing:

  1. The Resolution of the issue will be set to Done.
  2. Set issue status to the linked status of the destination workflow step.
  3. Add a comment to an issue if one is entered during a transition.
  4. Update change history for an issue and store the issue in the database.
  5. Re-index an issue to keep indexes in sync with the database.
  6. Fire a Generic Event event that can be processed by the listeners.

well, thats the answer then :D

Fire a Generic Event event that can be processed by the listeners.

You should have:

  1. Fire a Issue Closed event that can be processed by the listeners.
2 votes
Joe Wai Tye Atlassian Team Feb 18, 2014

Hmm, does the other notifications work? It could be a problem with notifications as a whole :(

If it only affects the closing of issues, you might want to check the workflow to see if the post-function where the 'Issue Closed' event is fired is present or not.

Sounds like you have the right things in place. When you say 'sent' does that mean you actually monitored the outbound mail queue at the instant you triggered this event and did not see it enqueue?

Have you checked the logs? Any customizations to the email templates could result in a render fail, which results in a notification fail.

Yes, I did monitor the queue, but there was no change.

I have also checked the logs (also with debugging enabled), but there's nothing in there about that.

Try enabling the built-in debug mail listener, see what events are being generated, contrast with your notification scheme.

Enabled and got this on closing:

[DebugMailListener]: Issue: [#67928] testing automatically created issue
[DebugMailListener]: Comment: null
[DebugMailListener]: Change Group: [GenericEntity:ChangeGroup][id,454436][author,s.salonen]
created,2014-02-19 09:39:16.983][issue,67928]
[DebugMailListener]: EventTypeId: 13
[DebugMailListener]: Time: Wed Feb 19 09:39:16 CET 2014

The event will fire, I have just verified through the UI, I wonder if you have custom templates that dont take account of an empty comment?

All templates seem to be default ones, at least under WEB-INF/classes/

silly question, your notification scheme, it has ISSUE_CLOSED enabled right?

Well, there's "Issue Closed (System)" notification amongst others with different roles assigned to it etc. So I guess yes :)

Otherwise I wouldn't get positive answer from Notification Helper either, right?

For some reason I cannot move the event from 6th place to the 1st one, even though I could change it from Generic to Closed.

But the notifications started arriving now. Thanks!

Joe Wai Tye Atlassian Team Feb 20, 2014

Glad to hear that :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,487 views 15 20
Read article

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