Comment 4 for bug 231023

Revision history for this message
Karl Fogel (kfogel) wrote : Re: on status change, show new status in Subject:

Re-opening because we shouldn't let an edge case prevent a generally useful feature from being implemented.

The important thing here is a) to be able to distinguish between bug events where some status changed and bug events (e.g., new comments) where no status changed, and b) to be able to see as much information about the status change as can reasonably be fit into an email subject line. For people who follow bugs mainly by email, this would be a huge convenience.

So, proposed behavior:

  * If a bug affects only one project and the bug's status changes, then the subject of the outgoing email should contain the "[NEW_STATUS]".

  * If a bug affects multiple projects, but the bug's status changes in only one of them, then the subject should contain "[PROJECT:NEW_STATUS]".

  * If a bug affects multiple projects and the bug's status changes in more than one of those projects, but the new status is the same wherever it was changed, then the subject should contain "[NEW_STATUS in...]" (that's a literal ellipsis; the body of the email will contain the details).

  * If a bug affects multiple projects, and the bug's status changes in more than one project, and the new status is not the same, then the subject should say "[STATUS CHANGES...]", and the body of the email will contain the details.