#SCB2893 (comment) Make Email notification subject more informative

Hussayn Dabbous <[email protected]> Sun, 31 May 2009 17:25:00 +0200 (CEST)
Newsgroups gmane.comp.java.scarab.issues
Message-ID <[email protected]>
Activity report on

  *Enhancement SCB2893 - Make Email notification subject more informative*

  Scarab Link: http://www.solitone.org/scarab/issues/id/SCB2893
  Module: Scarab


  Activity generated by Hussayn Dabbous ([email protected]) at 05/31/2009 17:10

  *Reasons for the changes*


  ** null:  () **

-------------------------------------------------------------------------------
  *Personnel changes*
  - Assigned to: dabbous ()

-------------------------------------------------------------------------------
  *Attribute changes*
  - Priority: 3-Normal ()
  - Target milestone: 0.23 ()
  - Database: All ()
  - Status: Unconfirmed ()
  - Summary: Make Email notification subject more informative ()
  - "Short description" set to:
    "more see comment"

-------------------------------------------------------------------------------
  *Comments*
  - By Hussayn Dabbous - 05/31/2009 17:12 ---
  "currently the email subject looks like this:
{{{[<module>] Issue #<local_id> (<status_change>) <default_text>}}}

module: module name in uppercase\\
local_id: issue ID\\
status_change: empty, if the status has not changed, otherwise new status\\
default_text: ...

i propose following changes:

# remove the String "Issue" (example see below)
# make the "status_change" field more complex:

{{{
if (status has changed)
       value of new status
elseif single change
{
    if (comment added)
       "new comment"
    else if (new attachment)
       "attachment"
    else if (personell change)
       "personell change"
    else if (relation change)
       "relation change"
    else
       "attribute change"
}
else
{
    "multiple changes"
}
}}}

examples:
Let's say a new comment was added to an issue, then the email subject might look like this:

* old: [SCARAB] Issue #2345 () proposing 2 changes in the email subject
* new: [SCARAB] #2345 (comment added) proposing 2 changes in the email subject

when multiple changes occur:

* old: [SCARAB] Issue #2345 () proposing 2 changes in the email subject
* new: [SCARAB] #2345 (multiple changes) proposing 2 changes in the email subject

when status changed to "closed" plus some comments have been added:

* old: [SCARAB] Issue #2345 (closed) proposing 2 changes in the email subject
* new: [SCARAB] #2345 (closed) proposing 2 changes in the email subject
"

  - By Hussayn Dabbous - 05/31/2009 17:14 ---
  "I created a solution now based on a "activity notification priority"
Now the most important activity of the notifications activitySet gets 
mentioned on the subject line."

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=458&dsMessageId=2357280

To unsubscribe from this discussion, e-mail: [[email protected]].