Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11757

Single notification per event for "change on my issues"

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      Why

      Bulk change in the UI or processing of an analysis report can apply to and update a large number of issue of a given assignee. In this case, one "change on my issues" notification is sent per issue, which can generate lots of emails. This creates noise (spam?) in our users mailbox and reduces the value of the notification.

      What

      To fix this situation, a single email should be sent by recipient of the "change on my issues" notification per event (bulk UI change or report analysis processing in CE).

      We'll vary the email content slightly based on whether the event was an analysis or change through the UI

      How

      Email content for analysis

      Subject: Analysis has changed some of your issues in [Project], [Branch]

      Hi,

      An analysis has updated issues assigned to you:

      Closed issues:
      Rule S123 - Don't do bad things See the single issue
      Rule S234 - Don't do slightly bad things See issues 1-50, 51-63

      Open issues:
      Rule S345 - Blah blah blah See all 48 issues

       
      You received this email because you are subscribed to My New Issues notifications from [instance]. Click here to edit your email preferences.

      Email content when issues belongs to multiples branches/projects (can only occur on UI change)

      Subject: A manual update has changed some of your issues

      Hi,

      A manual issue change has updated issues assigned to you:

      [Project], [branch]
          Rule S123 - Don't do bad things See the single issue
          Rule S234 - Don't do slightly bad things See issues 1-50, 51-63

      [Project], [branch]
          Rule S345 - Blah blah blah See all 48 issues

       
      You received this email because you are subscribed to My New Issues notifications from [instance]. Click here to edit your email preferences.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebastien.lesaint Sebastien Lesaint
                Reporter:
                sebastien.lesaint Sebastien Lesaint
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: