Re: Event reminders in SCARAB
Hussayn Dabbous <[email protected]> Sat, 27 Nov 2010 10:59:38 +0100
| Newsgroups | gmane.comp.java.scarab.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 26.11.2010 21:05, schrieb Alexander Jaramillo: > Hi all, > > It is needed to have reminders for some events. For example, if an issue = is assigned to a user and after five days the issue has not changed any sta= te or attribute, an e-mail is send againg to the assigned user. Is that pos= sible in SCARAB? I'm using 0.21 version. I have added something similar to current trunk: You can put an issue into a special "sleeping state" which will remind all listeners periodicaly after a given "sleeptime" ... You can configure the whole Scarab (trunk only!) using build properties. Here is what i have configured for my production instance: scarab.common.status.id=3DStatus scarab.common.status.onhold=3DWiedervorlage scarab.common.status.onhold.dateProperty=3DWiedervorlagedatum scarab.common.status.onhold.reminder.period=3D2 This means: I tell scarab which attribute is meant to be the "status" attribute (here "Status"). I tell which selection option is the "in sleep" value (here "Wiedervorlage"= ) I tell which attribute contains the "date for wakeup" (here "Wiedervorlagedatum") I tell, how long the reminder period shall be after the wakeupdate has been reached (here every 2 days until the State is changed to something different from "Wiedervorlage")) This is certainly not what you want, but it may be a beginning from where you could easily add your feature. You will want to modify the ScarabNotificationManager.java for this and it should be straight forward (just check for the last change dateof all issues in a certain state) I might want to add that too. However i would want to add a special time period attribute "remind me after" which can be filled in manually or preset automatically: scarab.common.remindme.id=3D"Erinnerung" scarab.common.remind.after=3D"2 days" scarab.common.remindme.frequence=3D1 week regards, hussayn --=20 Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenh=C3=B6fer Allee 125 D 50935 K=C3=B6ln tel.: 0221 560 1111 http://www.saxess.de ------------------------------------------------------ http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D455&dsMessageId=3D26= 86093 To unsubscribe from this discussion, e-mail: [[email protected]= .org].