Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-16863

An 'Issue commented' notification should always be sent for a new comment, also on issue operation/transition.

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Hi,

      The notification for 'Issue commented' can be a little confusing.

      To minimize the amount of notifications being sent from JIRA,we use the following rule of thumb:

      "Any comment that's added, will result in a notification to the current/new assignee."

      This works fine if you add a comment seperately, but not if you add a comment when performing an issue operation like Assigning the issue. In the latter case only a 'Issue Assigned' Notification is being sent.

      This confuses users in pour scenario.

      I think it would be an improvement to also sent an 'Issue Commented' Notification in this case.

      If you think this would be over the top (too much), you could select those recipients for the 'Issue Commented' notification if they didn't already receive the 'Issue assigned' mail (which includes the new comment already). You could also add the recicipients from the 'notification scheme-issue commented' to the recipients of the 'Issue Assigned' Notificiation mail, but this could cause confusion because of the e-mail subject.

      Please share your thoughts on this.

            [JRASERVER-16863] An 'Issue commented' notification should always be sent for a new comment, also on issue operation/transition.

            Ok, although there's also a event 'issue commented' so it's already somewhere used in the event/mail handling code.

            I made some changes to the jira source code to have it send out notifications for each comment entered, regardless at which screen/action/transition.

            Valentijn Scholten added a comment - Ok, although there's also a event 'issue commented' so it's already somewhere used in the event/mail handling code. I made some changes to the jira source code to have it send out notifications for each comment entered, regardless at which screen/action/transition.

            AntonA added a comment -

            Hi Valentijn,

            The issue is that JIRA notifications are based on events and not field modifications. An operation should only trigger one event, as otherwise chaos will occur when it comes to consuming those events in listeners.

            The solution is to allow notifications to be configured not only based on events but also on field modifications (comment is a field in technical terms). The issue for this is JRA-12362, and therefore I will resolve this issue as a duplicate.

            Please, vote for JRA-12362 and add yourself as a watcher to it.

            For more information on the way new feature and improvement requests are scheduled, please see:
            http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+and+Improvements

            Cheers,
            Anton

            AntonA added a comment - Hi Valentijn, The issue is that JIRA notifications are based on events and not field modifications. An operation should only trigger one event, as otherwise chaos will occur when it comes to consuming those events in listeners. The solution is to allow notifications to be configured not only based on events but also on field modifications (comment is a field in technical terms). The issue for this is JRA-12362 , and therefore I will resolve this issue as a duplicate. Please, vote for JRA-12362 and add yourself as a watcher to it. For more information on the way new feature and improvement requests are scheduled, please see: http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+and+Improvements Cheers, Anton

            I broadened the scope of this issue, since it also applies to issue tranisitions. If you enter a comment on a transition screen, no 'Issue Commented' notification is sent.

            Valentijn Scholten added a comment - I broadened the scope of this issue, since it also applies to issue tranisitions. If you enter a comment on a transition screen, no 'Issue Commented' notification is sent.

            I already had some talks about this with support: https://support.atlassian.com/browse/JSP-36055

            Valentijn Scholten added a comment - I already had some talks about this with support: https://support.atlassian.com/browse/JSP-36055

              Unassigned Unassigned
              0808b56fea9d Valentijn Scholten
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: