Quantcast
Viewing all articles
Browse latest Browse all 2179

New Post: New Issue Notification

I'm actually spending a lot of time on this. I see that I get a notification if a new issue is created on the Web, but if it is submitted by e-mail then I don't get the notification. I assume that this is because IssueManager.cs has a "if(HttpContext.Current != null)" section in its SaveOrUpdate function, and the HttpContext is null when issues are created by e-mail.

I wonder if it makes sense to at least send the new assignee a notification when a new issue is created by e-mail (I think it does!). If that's the case, I wonder if I can just move the code in the entity.SendNewAssigneeNotification block from within the SaveOrUpdate method so that it runs when HttpContext is null. That way the new assignee would always get notified...

I would like author feedback here but I will try it out and will try to report back with my findings. Thanks.



Viewing all articles
Browse latest Browse all 2179

Trending Articles