On 29 Apr, 2009, at 24:38 , cybernytrix wrote:
> Hello,
Hi Cybernytrix,
> In my trac.ini, I have:
>
> [notification]
> always_notify_owner = true
> always_notify_reporter = true
> always_notify_updater = false
> smtp_enabled = true
>
> Notifications work for me, but it is not sent when I import via CSV.
> Does anyone know if this can be fixed? Any hints on which part of the
> code to look?
Notification are not connected to the import... yet ;-) If you want to
do that, just have a look at the agilo/scrum/backlog.py:556 at the
method _save_ticket_changes() there is a piece of code which sends
notifications:
try:
debug(self, "Sending changed notification for " \
"ticket %s" % bi.ticket)
tn = TicketNotifyEmail(self.env)
tn.notify(bi.ticket, newticket=False, modtime=now)
except Exception, e:
error(self, "Failure sending notification for " \
"ticket #%s: %s" % (bi.id, e))
That's the API, you can use newticket=True when you create new
tickets... the first parameter must be a valida ticket object, let me
know if you need more help ;-)
> Thanks,
YAW
> Ashwin
ANdreaT
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH
http://www.agile42.com and is focused in supporting Agilo for Scrum users.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo?hl=en
-~----------~----~----~----~------~----~------~--~---