RTC 5.0.2 Email Notifications Sending once Enabled though Changes Completed while Disabled.
When we need to do bulk work item edits in RTC we disable email in the advanced configuration console, then we wait 15 minutes before starting the CSV imports/updates to these items, finally we wait an additional 15 minutes to enable email again, but users end up getting emails soon as we enable to setting. This is pretty confusing to users. My hunch is that the changes get queued up and if the configuration is enabled before the queue is cleared out, then the emails get sent.
Question: What do we need to do to ensure users aren't emailed when we disable the email setting, do the work, then enable the email setting?
|
Accepted answer
I had the same issue and got response from that:
The issue was created by the changes for Defect E-mail notifications broken on jazz.net after 5.0 S3 upgrade (306699) The ChangeEventMailNotifier was refactored and now changes made when email is off are now added to the queue when e-mail notification is turned on. It was considered a defect that events would be lost when turning off email for maintenance or when there is a problem with the smtp server. The current behavior is the "correct" behavior. The only workaround to avoid the email is before enabling mail notification, follow the technote http://www-01.ibm.com/support/docview.wss?uid=swg21390701 scrub the change events in a very short time. Joel Lonneker selected this answer as the correct answer
Comments
Joel Lonneker
commented Oct 21 '15, 1:04 p.m.
Oh my!
com.ibm.team.repository.service.internal.ChangeEventService:
Alternately I could change ChangeEvent Default Expiration from 14 days (1209600 seconds) to 1 hour (3600 seconds) if I didn't care about it queueing anything in general beyond an hour? Am I understanding that right?
Lily Wang
commented Oct 22 '15, 3:15 a.m.
Yes, you could change "ChangeEvent Default Expiration" to a even shorter time temporarily. But the bad thing is you need to restart CCM to make the change works.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hi Joel,